summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-22 00:50:59 +0800
committerruki <[email protected]>2020-12-22 00:50:59 +0800
commit7d9cc008773b3ee14036778ae0985518951e8c4a (patch)
tree9f8cb09a90de32e51b3dc9b1375c94f4b1651a6f
parentcd8b5cba53d9abba2852d1152b1bd51ed865685f (diff)
remove some empty lines
-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