aboutsummaryrefslogtreecommitdiffstats
path: root/Cakefile
diff options
context:
space:
mode:
authorStephen Blott2015-02-11 16:11:40 +0000
committerStephen Blott2015-02-11 16:11:40 +0000
commitf0e0ccd17beb5dd99f85b212781d3aa9b84966c0 (patch)
treef2e4b498f10e31d280672bf3911500dbd80d220b /Cakefile
parentd0a08946820ca29c64e0d04ba02766b256f062d0 (diff)
downloadvimium-f0e0ccd17beb5dd99f85b212781d3aa9b84966c0.tar.bz2
More informative output for cake target package-custom-crx.
Diffstat (limited to 'Cakefile')
-rw-r--r--Cakefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/Cakefile b/Cakefile
index d78bb062..9a528024 100644
--- a/Cakefile
+++ b/Cakefile
@@ -86,10 +86,17 @@ task "package-custom-crx", "build .crx file", ->
manifest.update_url = "http://philc.github.com/vimium/updates.xml"
fs.writeFileSync "manifest.json", JSON.stringify manifest
+ pem = process.env.VIMIUM_CRX_PEM ? "vimium.pem"
+ target = "vimium-latest.crx"
+
+ console.log "Building crx file..."
+ console.log " using pem-file: #{pem}"
+ console.log " target: #{target}"
+
crxmake = spawn "crxmake", optArrayFromDict
"pack-extension": "."
- "pack-extension-key": process.env.VIMIUM_CRX_PEM ? "vimium.pem"
- "extension-output": "vimium-latest.crx"
+ "pack-extension-key": pem
+ "extension-output": target
"ignore-file": "(^\\.|\\.(coffee|crx|pem|un~)$)"
"ignore-dir": "^(\\.|test)"