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:
+2
-1
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user