diff options
| author | ruki <[email protected]> | 2019-06-13 00:26:32 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-06-12 20:39:14 +0800 |
| commit | 34b1fe79cfa33e2e185a520e05b3d7c8d70dd01c (patch) | |
| tree | bc4a00d2adce8da3137adaf4b3e54741b86531d0 /xmake/rules/qt/env/xmake.lua | |
| parent | bf7331c60d83218fbf58431a7d757420549b60fa (diff) | |
improve clean action
Diffstat (limited to 'xmake/rules/qt/env/xmake.lua')
| -rw-r--r-- | xmake/rules/qt/env/xmake.lua | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xmake/rules/qt/env/xmake.lua b/xmake/rules/qt/env/xmake.lua index 590c77b07..ec5fe06f2 100644 --- a/xmake/rules/qt/env/xmake.lua +++ b/xmake/rules/qt/env/xmake.lua @@ -39,9 +39,7 @@ rule("qt.env") -- clean files after_clean(function (target) - for _, file in ipairs(target:data("qt.cleanfiles")) do - os.rm(file) - end - target:data_set("qt.cleanfiles", nil) + import("core.project.config") + import("private.action.clean.remove_files") + remove_files(path.join(config.buildir(), ".qt")) end) - |
