5 lines
No EOL
248 B
CoffeeScript
5 lines
No EOL
248 B
CoffeeScript
{exec} = require 'child_process'
|
|
task 'sbuild', 'Build project from ./src/*.coffee to ./build/*.js', ->
|
|
exec 'coffee --output ./build/ --join game.js --compile ./src/', (err, stdout, stderr) ->
|
|
throw err if err
|
|
console.log stdout + stderr |