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
2525
2626 if opts [ :all ] do
2727 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 ) )
2929 else
3030 File . rm_rf ( Mix.Project . app_path )
3131 end
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ defmodule Mix.Tasks.CleanTest do
5555 assert File . exists? ( "_build/shared/lib/ok" )
5656 Mix.Tasks.Clean . run [ "--all" ]
5757
58- refute File . exists? ( "_build" )
58+ assert File . exists? ( "_build/shared" )
59+ refute File . exists? ( "_build/shared/lib" )
5960 assert_received { :mix_shell , :info , [ "* Cleaning ok" ] }
6061 assert_received { :mix_shell , :info , [ "* Cleaning unknown" ] }
6162 end
You can’t perform that action at this time.
0 commit comments