Skip to content

Commit

Permalink
clean build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed May 18, 2022
1 parent f4a709d commit 4d1aafe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xmake/modules/target/action/clean/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
-- imports
import("core.base.option")
import("private.action.clean.remove_files")
import("private.cache.build_cache")

-- the builtin clean main entry
function main(target)
Expand Down Expand Up @@ -61,6 +62,9 @@ function main(target)

-- remove all autogen files for each platform
remove_files(target:autogendir({root = true}))

-- clean build cache
build_cache.clean()
else

-- remove dependent files for the current platform
Expand Down

0 comments on commit 4d1aafe

Please sign in to comment.