Created
April 10, 2013 11:22
-
-
Save x1a0/5353811 to your computer and use it in GitHub Desktop.
Cakefile for Sencha Touch development
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
{spawn} = require 'child_process' | |
dev = -> | |
cmd = "coffee" | |
args = ["-c", "-b", "-w", "-o", "app", "coffee"] | |
coffee = spawn cmd, args | |
coffee.stdout.pipe process.stdout | |
coffee.stderr.pipe process.stderr | |
coffee.on "exit", (status) -> | |
console.log "coffee exit with #{status}" | |
task "dev", "start development", -> | |
console.log "watching and compiling coffee scripts" | |
dev() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment