make doc update
[io.git] / build.io
blob6b68ebf770eb7f419c03ead0acaaa31fd88b009d
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 args := System args clone
12 if(args at(1) == "-a") then(
13 project buildAddon(args at(2))
14 ) elseif (args at(1)) then(
15 project clone doString(args at(1))
16 ) else (
17 project clone build