mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Cleaned up bam.lua a bit
This commit is contained in:
parent
96a1b130fa
commit
30fd715fc2
4
bam.lua
4
bam.lua
|
@ -73,7 +73,7 @@ function Dat2c(datafile, sourcefile, arrayname)
|
||||||
AddJob(
|
AddJob(
|
||||||
sourcefile,
|
sourcefile,
|
||||||
"dat2c " .. PathFilename(sourcefile) .. " = " .. PathFilename(datafile),
|
"dat2c " .. PathFilename(sourcefile) .. " = " .. PathFilename(datafile),
|
||||||
Script("scripts/safewrapper.py") .. " \"" .. Script("scripts/dat2c.py").. "\" " .. sourcefile .. " " .. datafile .. " " .. arrayname
|
Script("scripts/dat2c.py").. "\" " .. sourcefile .. " " .. datafile .. " " .. arrayname
|
||||||
)
|
)
|
||||||
AddDependency(sourcefile, datafile)
|
AddDependency(sourcefile, datafile)
|
||||||
return sourcefile
|
return sourcefile
|
||||||
|
@ -84,7 +84,7 @@ function ContentCompile(action, output)
|
||||||
AddJob(
|
AddJob(
|
||||||
output,
|
output,
|
||||||
action .. " > " .. output,
|
action .. " > " .. output,
|
||||||
--Script("scripts/safewrapper.py") .. " \"" .. Script("datasrc/compile.py") .. "\" ".. Path(output) .. " " .. action
|
--Script("datasrc/compile.py") .. "\" ".. Path(output) .. " " .. action
|
||||||
Script("datasrc/compile.py") .. " " .. action .. " > " .. Path(output)
|
Script("datasrc/compile.py") .. " " .. action .. " > " .. Path(output)
|
||||||
)
|
)
|
||||||
AddDependency(output, Path("datasrc/content.py")) -- do this more proper
|
AddDependency(output, Path("datasrc/content.py")) -- do this more proper
|
||||||
|
|
Loading…
Reference in a new issue