Skip to content

Commit 198063c

Browse files
Merge pull request #556 from Omega-Ariston/fix-issue544
fix issue554, a build error under win10 environment
2 parents 0d71785 + aad6dd6 commit 198063c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Cakefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{spawn, exec} = require 'child_process'
22

33
task 'build', 'continually build the JavaScript code', ->
4-
coffee = spawn 'coffee', ['-cw', '-o', 'lib', 'src']
4+
coffeeScript = if process.platform == 'win32' then 'coffee.cmd' else 'coffee'
5+
coffee = spawn coffeeScript, ['-cw', '-o', 'lib', 'src']
56
coffee.stdout.on 'data', (data) -> console.log data.toString().trim()
67

78
task 'doc', 'rebuild the Docco documentation', ->

0 commit comments

Comments
 (0)