Skip to content

Commit

Permalink
Merge pull request #556 from Omega-Ariston/fix-issue544
Browse files Browse the repository at this point in the history
fix issue554, a build error under win10 environment
  • Loading branch information
Leonidas-from-XIV committed Mar 27, 2020
2 parents 0d71785 + aad6dd6 commit 198063c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cakefile
@@ -1,7 +1,8 @@
{spawn, exec} = require 'child_process'

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

task 'doc', 'rebuild the Docco documentation', ->
Expand Down

0 comments on commit 198063c

Please sign in to comment.