Permalink
Browse files

Use local coffee

Use the dev dependency of coffee-script in node_modules/.bin
  • Loading branch information...
1 parent 4aaf1d0 commit 6034f87215dd2ea8eeedad1241270c5a7e6350a8 @wlaurance wlaurance committed Aug 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Cakefile
View
4 Cakefile
@@ -10,8 +10,8 @@ runCommand = (name, args...) ->
proc.on 'exit', (status) -> process.exit(1) if status isnt 0
task 'project:watch', 'Watch source files and build JS', (options) ->
- runCommand 'coffee', '-o', 'lib/', '-wc', 'src/'
- runCommand 'coffee', '-o', 'lib/resources', '-wc', 'src/resources'
+ runCommand './node_modules/.bin/coffee', '-o', 'lib/', '-wc', 'src/'
+ runCommand './node_modules/.bin/coffee', '-o', 'lib/resources', '-wc', 'src/resources'
task 'test', 'Run all tests', ->
runCommand './node_modules/mocha/bin/mocha', '-c'

0 comments on commit 6034f87

Please sign in to comment.