Stopping IoSandbox_printCallback from segfaulting
[io/quag.git] / build.io
blob22260fd0ecc33a3ad5fcf8e86e2ccf955c4583b6
1 Importer addSearchPath("build")
3 Directory fileNamedOrNil := method(path,
4 f := fileNamed(path)
5 if(f exists, f, nil)
8 Directory setCurrentWorkingDirectory(launchPath)
10 project := Project clone
11 if(args at(1) == "-a") then(
12 project buildAddon(args at(2))
13 ) elseif (args at(1)) then(
14 project clone doString(args at(1))
15 ) else (
16 project clone build