Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (10 sloc) 398 Bytes
fs = require('fs')
{exec} = require 'child_process'
prodCoffeeOpts = " --bare --output release --compile dirWatch.coffee"
task 'build', 'generate release package', (options) ->
fs.unlink "release",->
exec "coffee #{prodCoffeeOpts}",(err, stdout, stderr) ->
throw err if err
console.log stdout
fs.link "package.json", "release/package.json",->
console.log("done.")