Last active
December 19, 2015 07:18
-
-
Save scips/5917417 to your computer and use it in GitHub Desktop.
Cakefile sbuild task for sublime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{exec} = require 'child_process' | |
task 'sbuild', 'Build project from *.coffee to *.js', -> | |
cwd = process.cwd() | |
process.chdir 'public/static/' | |
exec 'coffee -b -m --output js/ coffee/', (err, stdout, stderr) -> | |
throw err if err | |
console.log stdout + stderr | |
process.chdir cwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment