public
Description: Io programming language
Homepage: http://iolanguage.com
Clone URL: git://github.com/stevedekorte/io.git
Steve Dekorte (author)
Wed Jun 10 23:44:24 -0700 2009
commit  9ead08c1ef29e835a1ff43ec089cc979074a5a42
tree    dba8ac29c1ec98b615c503284ee7c82f1181e9f2
parent  3c7b983a344ab22ca86a2f4840e077bc1737dfca
io / build.io
100644 19 lines (15 sloc) 0.386 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Importer addSearchPath("build")
 
Directory fileNamedOrNil := method(path,
f := fileNamed(path)
if(f exists, f, nil)
)
 
Directory setCurrentWorkingDirectory(System launchPath)
 
project := Project clone
args := System args clone
if(args at(1) == "-a") then(
project buildAddon(args at(2))
) elseif (args at(1)) then(
project clone doString(args at(1))
) else (
project clone build
)