Skip to content

Commit

Permalink
trying to get this to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Jared Cosulich authored and Jared Cosulich committed Dec 8, 2011
1 parent dec3beb commit 2954b13
Show file tree
Hide file tree
Showing 3 changed files with 11,161 additions and 11 deletions.
16 changes: 16 additions & 0 deletions Cakefile
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',
]
Loading

0 comments on commit 2954b13

Please sign in to comment.