public
Description: Io programming language
Homepage: http://iolanguage.com
Clone URL: git://github.com/stevedekorte/io.git
Search Repo:
Steve Dekorte (author)
Tue May 13 17:03:06 -0700 2008
commit  c7f2d7a7564662fa77c4b288dda0442b797e0e90
tree    e077101dc0613b3aa4b02fc710b268a468f448e2
parent  c7b4b4f67ec7938749c08c496d93ad96a11269ce
io / build.io
100644 18 lines (15 sloc) 0.386 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
)