Skip to content

Commit

Permalink
Remove out dir before running gleam compile-package
Browse files Browse the repository at this point in the history
  • Loading branch information
tynanbe committed Dec 5, 2022
1 parent 2715607 commit 04d0d7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/mix/tasks/compile/gleam.ex
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ defmodule Mix.Tasks.Compile.Gleam do
"."
end

File.rm_rf!(out)

cmd =
"gleam compile-package --target erlang --no-beam --package #{package} --out #{out} --lib #{lib}"

Expand Down

0 comments on commit 04d0d7a

Please sign in to comment.