diff options
| author | Stephen Blott | 2015-02-11 16:11:40 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-02-11 16:11:40 +0000 |
| commit | f0e0ccd17beb5dd99f85b212781d3aa9b84966c0 (patch) | |
| tree | f2e4b498f10e31d280672bf3911500dbd80d220b /Cakefile | |
| parent | d0a08946820ca29c64e0d04ba02766b256f062d0 (diff) | |
| download | vimium-f0e0ccd17beb5dd99f85b212781d3aa9b84966c0.tar.bz2 | |
More informative output for cake target package-custom-crx.
Diffstat (limited to 'Cakefile')
| -rw-r--r-- | Cakefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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)" |
