Skip to content

Commit db2a3e6

Browse files
committed
improve build task
1 parent 7088f29 commit db2a3e6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Cakefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ compile = (srcFiles, srcDir, destDir, cb) ->
3838
coffee args, cb
3939

4040
# Run CoffeeScript command
41-
coffee = (args, cb) -> run 'coffee', args, cb
41+
coffee = (args, cb) -> run './node_modules/.bin/coffee', args, cb
4242

4343
run = (executable, args = [], cb) ->
44+
console.log(executable, args...)
4445
proc = spawn executable, args
4546
proc.stdout.on 'data', (buffer) -> log buffer.toString(), green
4647
proc.stderr.on 'data', (buffer) -> log buffer.toString(), red

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"url": "git://github.com/jsdf/coffee-react-transform.git"
3636
},
3737
"devDependencies": {
38-
"coffee-script": "^1.7.1",
39-
"diff": "^1.0.8",
40-
"colors": "^0.6.2"
38+
"coffee-script": "^1.9.1",
39+
"colors": "^0.6.2",
40+
"diff": "^1.0.8"
4141
}
4242
}

0 commit comments

Comments
 (0)