Fixing up warnings and bugs indicated by warnings
[io/quag.git] / build.io
blobe5a02bf79562e788a49c96795fd22178474914a6
2 Importer addSearchPath("build")
3 //doFile("vm/processIoCodeFor.io")
5 Directory do(
6 nonUnderscoreFolders := method(folders select(name beginsWithSeq("_") not))
7 fileNamedOrNil := method(path, f := fileNamed(path); if(f exists, f, nil))
10 Directory setCurrentWorkingDirectory(launchPath)
12 if(args at(1) == "-a") then(
13 Project clone addons detect(name == args at(2)) build
14 ) elseif (args at(1)) then(
15 Project clone doString(args at(1))
16 ) else (
17 Project clone build