diff options
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) - |
