Skip to content

Commit

Permalink
really basic cakefile for building the zip for webstore
Browse files Browse the repository at this point in the history
  • Loading branch information
chadselph committed Mar 10, 2012
1 parent 3e026e0 commit 2fc3f46
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Cakefile
@@ -0,0 +1,11 @@
{exec} = require("child_process")

FILES = ["icons", "extension.js", "manifest.json", "style.css"]

task("chrome_dist", "Build the chrome extension to upload to Google", ->
exec("zip -r chromedist.zip " + FILES.join(" "), (err, stdout, stderr) ->
console.log(stdout + stderr) if stdout or stderr
throw err if err
)
console.log("zipped!")
)

0 comments on commit 2fc3f46

Please sign in to comment.