diff --git a/Tuprules.lua b/Tuprules.lua index b2169b79..b5413c47 100644 --- a/Tuprules.lua +++ b/Tuprules.lua @@ -24,6 +24,4 @@ function compresspng(filename, opts) return cmds end -function makecmd(cmds) - return table.concat(flatten(cmds), " && ") -end + diff --git a/util/tup-ext.lua b/util/tup-ext.lua index 0f31de0d..9f04ed31 100644 --- a/util/tup-ext.lua +++ b/util/tup-ext.lua @@ -33,3 +33,7 @@ function symlink(input, output) output ) end + +function makecmd(cmds) + return table.concat(flatten(cmds), " && ") +end