summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-02-23 22:51:31 +0800
committerruki <[email protected]>2024-02-23 22:51:31 +0800
commited9205400c40454cb93b0671565a346cf2ffdefa (patch)
tree2e68d583c09d64d99e2e2810a9489eac39ca34d8
parentff4b2b09ea46e80c110ac327c4909032669d809e (diff)
improve clean
-rw-r--r--xmake/actions/clean/main.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/actions/clean/main.lua b/xmake/actions/clean/main.lua
index 40c73faa1..6470208d5 100644
--- a/xmake/actions/clean/main.lua
+++ b/xmake/actions/clean/main.lua
@@ -164,6 +164,9 @@ function main()
-- local config first
config.load()
+ -- load targets
+ project.load_targets()
+
-- enter project directory
local oldir = os.cd(project.directory())