-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jared Cosulich
authored and
Jared Cosulich
committed
Dec 8, 2011
1 parent
dec3beb
commit 2954b13
Showing
3 changed files
with
11,161 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
fs = require('fs') | ||
sys = require('sys') | ||
{spawn, exec} = require('child_process') | ||
|
||
package = JSON.parse(fs.readFileSync('package.json', 'utf8')) | ||
|
||
execCmds = (cmds) -> | ||
exec cmds.join(' && '), (err, stdout, stderr) -> | ||
output = (stdout + stderr).trim() | ||
console.log(output + '\n') if (output) | ||
throw err if err | ||
|
||
task 'build', 'Build the library', -> | ||
execCmds [ | ||
'coffee --bare --output ./lib ./src/*.coffee', | ||
] |
Oops, something went wrong.