File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ defmodule Mix.Tasks.Clean do
25
25
26
26
if opts [ :all ] do
27
27
Mix.Task . run ( "deps.clean" , args )
28
- File . rm_rf ( Path . dirname ( Mix.Project . build_path ) )
28
+ File . rm_rf ( Path . dirname ( Mix.Project . app_path ) )
29
29
else
30
30
File . rm_rf ( Mix.Project . app_path )
31
31
end
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ defmodule Mix.Tasks.CleanTest do
55
55
assert File . exists? ( "_build/shared/lib/ok" )
56
56
Mix.Tasks.Clean . run [ "--all" ]
57
57
58
- refute File . exists? ( "_build" )
58
+ assert File . exists? ( "_build/shared" )
59
+ refute File . exists? ( "_build/shared/lib" )
59
60
assert_received { :mix_shell , :info , [ "* Cleaning ok" ] }
60
61
assert_received { :mix_shell , :info , [ "* Cleaning unknown" ] }
61
62
end
You can’t perform that action at this time.
0 commit comments