Permalink
Browse files

Added ./bin to the Cakefile.

  • Loading branch information...
1 parent 2b31ec3 commit 69ad79a06496e34d7a7665f2c3fa451ab97c4afc @leeola committed Aug 22, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 Cakefile
View
@@ -99,10 +99,17 @@ copy_compile = (source, output, callback) ->
bork_task = bork()
task 'build', 'build all', ->
+ invoke 'build:bin'
invoke 'build:lib'
invoke 'build:test'
bork_task.start()
+task 'build:bin', 'build bin', ->
+ console.log 'build:bin start()'
+ bork_task.link (done) -> copy_compile './bin', './build/bin', ->
+ console.log 'build:bin end'
+ done()
+
task 'build:lib', 'build lib', ->
console.log 'build:lib start()'
bork_task.link (done) -> copy_compile './lib', './build/lib', ->
@@ -134,6 +141,7 @@ task 'test:nobuild', 'just run the tests, don\'t build anything', ->
done()
task 'prepublish', 'build all, test all. designed to work before `npm publish`', ->
+ invoke 'build:bin'
invoke 'build:lib'
invoke 'build:test'
invoke 'test:nobuild'

0 comments on commit 69ad79a

Please sign in to comment.