diff options
| author | ruki <[email protected]> | 2022-05-18 22:30:48 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-18 13:09:42 +0800 |
| commit | 4d1aafedc90c94291d347b3f968c1d8736395382 (patch) | |
| tree | 5b6390af719f6b8408a7e862201b7b0a6839ef4d | |
| parent | f4a709d728f700689c56dc7cd0f66a9bed76e83a (diff) | |
clean build cache
| -rw-r--r-- | xmake/modules/target/action/clean/main.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xmake/modules/target/action/clean/main.lua b/xmake/modules/target/action/clean/main.lua index 8cbc9599c..74ebf39bb 100644 --- a/xmake/modules/target/action/clean/main.lua +++ b/xmake/modules/target/action/clean/main.lua @@ -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) @@ -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 |
