add newline to commands in makecmd

makes it easier to do `tup refactor`
This commit is contained in:
Christopher Monsanto
2020-05-02 21:48:49 -04:00
parent 58eb3de07a
commit 1002f2c708

View File

@@ -49,7 +49,7 @@ function makecmd(cmds)
for newcmd in iter(flatten(cmds)) do
newcmd = trim(newcmd)
if cmd ~= "" then
cmd = cmd .. " && "
cmd = cmd .. " &&\n"
end
cmd = cmd .. newcmd
end