summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/plugins/macro/main.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmake/plugins/macro/main.lua b/xmake/plugins/macro/main.lua
index cd5aefb8e..12c8fc6f8 100644
--- a/xmake/plugins/macro/main.lua
+++ b/xmake/plugins/macro/main.lua
@@ -76,11 +76,9 @@ function macros(anonymousname)
-- get macro name
local macroname = path.basename(macrofile)
-
if macroname == "anonymous" and anonymousname then
macroname = anonymousname
end
-
table.insert(results, macroname)
end
end
@@ -249,8 +247,6 @@ function _end(macroname)
-- save the macro block
for _, cmdline in ipairs(block) do
-
- -- save command line
file:print(" os.exec(\"%s\")", (cmdline:gsub("[\\\"]", function (w) return "\\" .. w end)))
end