diff options
Diffstat (limited to 'Cakefile')
| -rw-r--r-- | Cakefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -54,6 +54,8 @@ task "package", "Builds a zip file for submission to the Chrome store. The outpu # To get exec-sync, `npm install exec-sync`. We use this for synchronously executing shell commands. execSync = require("exec-sync") + vimium_version = JSON.parse(fs.readFileSync("manifest.json").toString())["version"] + invoke "build" execSync "rm -rf dist/vimium" @@ -66,7 +68,7 @@ task "package", "Builds a zip file for submission to the Chrome store. The outpu blacklist.map((item) -> ["--exclude", "'#{item}'"])) execSync "rsync " + rsyncOptions.join(" ") - execSync "cd dist && zip -r vimium.zip vimium" + execSync "cd dist && zip -r vimium-#{vimium_version}.zip vimium" # This builds a CRX that's distributable outside of the Chrome web store. Is this used by folks who fork # Vimium and want to distribute their fork? |
