Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (19 sloc) 0.612 kB
{exec} = require 'child_process'
task 'build', 'compile and uglify transparency', (options) ->
exec(
[
"coffee -o lib -c src/transparency.coffee"
"coffee -o browser/spec spec/*.coffee"
"uglifyjs lib/transparency.js > lib/transparency.min.js"
].join(' && '), (err, stdout, stderr) ->
if err then console.log stderr.trim()
)
task 'perf', 'run perf tests', (options) ->
invoke 'build'
exec(
[
"coffee -o perf/js -c perf/src/*.coffee"
].join(' && '), (err, stdout, stderr) ->
console.log stdout.trim() if stdout
console.log stderr.trim() if err
)
Jump to Line
Something went wrong with that request. Please try again.