diff options
Diffstat (limited to 'xmake/rules/wdk/env/xmake.lua')
| -rw-r--r-- | xmake/rules/wdk/env/xmake.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xmake/rules/wdk/env/xmake.lua b/xmake/rules/wdk/env/xmake.lua index 2f6c30965..07d9c5f5f 100644 --- a/xmake/rules/wdk/env/xmake.lua +++ b/xmake/rules/wdk/env/xmake.lua @@ -83,10 +83,9 @@ rule("wdk.env") -- clean files after_clean(function (target) - for _, file in ipairs(target:data("wdk.cleanfiles")) do - os.rm(file) - end - target:data_set("wdk.cleanfiles", nil) + import("core.project.config") + import("private.action.clean.remove_files") + remove_files(path.join(config.buildir(), ".wdk")) end) -- define rule: umdf |
