diff options
| author | ruki <[email protected]> | 2023-11-15 00:30:10 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-15 00:30:10 +0800 |
| commit | 6e6b5bb6959d2e0f6b393d881170b3a0eb81fe9d (patch) | |
| tree | 795b558a85bdde95c213d5db101e2a1e972c6651 /xmake/plugins/project/vstudio/impl | |
| parent | 11fc253727573ac7822d42a818056be410b3f266 (diff) | |
add rmdir to vs201x
Diffstat (limited to 'xmake/plugins/project/vstudio/impl')
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vs201x.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x.lua b/xmake/plugins/project/vstudio/impl/vs201x.lua index 3b6f145f4..a8b48dada 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x.lua @@ -102,6 +102,8 @@ function _get_command_string(cmd, vcxprojdir) return string.format("copy /Y \"%s\" \"%s\"", _translate_path(cmd.srcpath, vcxprojdir), _translate_path(cmd.dstpath, vcxprojdir)) elseif kind == "rm" then return string.format("del /F /Q \"%s\" || rmdir /S /Q \"%s\"", _translate_path(cmd.filepath, vcxprojdir), _translate_path(cmd.filepath, vcxprojdir)) + elseif kind == "rmdir" then + return string.format("rmdir /S /Q \"%s\"", _translate_path(cmd.filepath, vcxprojdir)) elseif kind == "mv" then return string.format("rename \"%s\" \"%s\"", _translate_path(cmd.srcpath, vcxprojdir), _translate_path(cmd.dstpath, vcxprojdir)) elseif kind == "cd" then |
