diff options
| author | Phil Crosby | 2012-06-10 13:35:19 -0700 |
|---|---|---|
| committer | Phil Crosby | 2012-06-10 13:35:19 -0700 |
| commit | ca87dcee1b396be0c4e1ee82561fb7afdb5f5b18 (patch) | |
| tree | 2f3b2dc17fb284bed1e3711fddcac6922f839ca5 /Cakefile | |
| parent | c86cda7e0ffbaa044c8b131e5726b1cce4c72ca6 (diff) | |
| download | vimium-ca87dcee1b396be0c4e1ee82561fb7afdb5f5b18.tar.bz2 | |
Add a target to build the coffeescript
Diffstat (limited to 'Cakefile')
| -rw-r--r-- | Cakefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,10 @@ fs = require "fs" {spawn, exec} = require "child_process" +task "build", "compile all coffeescript files to javascript", -> + coffee = spawn "coffee", ["tests", "background_scripts"] + coffee.stdout.on "data", (data) -> console.log data.toString().trim() + task "autobuild", "continually rebuild coffeescript files using coffee --watch", -> coffee = spawn "coffee", ["-cw", "tests", "background_scripts"] coffee.stdout.on "data", (data) -> console.log data.toString().trim() |
