1
0
mirror of https://github.com/natnat-mc/moonbuild synced 2026-05-11 19:51:15 +02:00

depend on amalg.lua to produce a single binary, fix #10

This commit is contained in:
Nathan DECHER
2020-09-13 18:42:42 +02:00
parent 28116da35e
commit 750b6e152a
11 changed files with 1004 additions and 538 deletions
+2 -1
View File
@@ -349,7 +349,8 @@ local buildscope = {
insert(tdeps, f)
end
return BuildObject(name, tout, tin, tdeps, params.fn)
end
end,
Command = Command
}
for k, fn in pairs(util) do
buildscope[k] = fn
+1
View File
@@ -146,6 +146,7 @@ buildscope=
insert tin, f
insert tdeps, f
BuildObject name, tout, tin, tdeps, params.fn
:Command
buildscope[k]=fn for k, fn in pairs util
setmetatable buildscope,