Skip to content

Commit

Permalink
Add a Cakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanensari committed Feb 6, 2012
1 parent 4493de4 commit 79afb65
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Cakefile
@@ -0,0 +1,11 @@
{exec} = require 'child_process'

task 'build', 'Build project', ->
exec 'coffee --compile --output lib/ src/', (err, stdout, stderr) ->
throw err if err
console.log stdout + stderr

task 'spec', 'Run specs', ->
exec 'jasmine-node --coffee spec/', (err, stdout, stderr) ->
throw err if err
console.log stdout + stderr

0 comments on commit 79afb65

Please sign in to comment.