got a build script for rebuilding the compiler, too

This commit is contained in:
Jeremy Ashkenas
2010-02-16 19:17:57 -05:00
parent c4d19cd1fa
commit 448ed36cd2
3 changed files with 14 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ compile_scripts: ->
else if opts.tree then puts coffee.tree(code).toString()
else
js: coffee.compile code
if opts.run then process.compile js, source
if opts.run then eval js
else if opts.print then puts js
else if opts.lint then lint js
else write_js source, coffee.compile code