diff options
| -rw-r--r-- | Cakefile | 11 | ||||
| -rw-r--r-- | manifest.json | 72 |
2 files changed, 10 insertions, 73 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)" diff --git a/manifest.json b/manifest.json index beb68530..42271b5c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,71 +1 @@ -{ - "manifest_version": 2, - "name": "Vimium", - "version": "1.49", - "description": "The Hacker's Browser. Vimium provides keyboard shortcuts for navigation and control in the spirit of Vim.", - "icons": { "16": "icons/icon16.png", - "48": "icons/icon48.png", - "128": "icons/icon128.png" }, - "background": { - "scripts": [ - "lib/utils.js", - "background_scripts/commands.js", - "lib/clipboard.js", - "background_scripts/sync.js", - "background_scripts/settings.js", - "background_scripts/exclusions.js", - "background_scripts/completion.js", - "background_scripts/marks.js", - "background_scripts/main.js" - ] - }, - "options_page": "pages/options.html", - "permissions": [ - "tabs", - "bookmarks", - "history", - "clipboardRead", - "storage", - "sessions", - "<all_urls>" - ], - "content_scripts": [ - { - "matches": ["<all_urls>"], - "js": ["lib/utils.js", - "lib/keyboard_utils.js", - "lib/dom_utils.js", - "lib/rect.js", - "lib/handler_stack.js", - "lib/clipboard.js", - "content_scripts/ui_component.js", - "content_scripts/link_hints.js", - "content_scripts/vomnibar.js", - "content_scripts/scroller.js", - "content_scripts/marks.js", - "content_scripts/mode.js", - "content_scripts/mode_insert.js", - "content_scripts/mode_passkeys.js", - "content_scripts/mode_find.js", - "content_scripts/mode_visual_edit.js", - "content_scripts/vimium_frontend.js" - ], - "css": ["content_scripts/vimium.css"], - "run_at": "document_start", - "all_frames": true - }, - { - "matches": ["file:///", "file:///*/"], - "css": ["content_scripts/file_urls.css"], - "run_at": "document_start", - "all_frames": true - } - ], - "browser_action": { - "default_icon": "icons/browser_action_disabled.png", - "default_popup": "pages/popup.html" - }, - "web_accessible_resources": [ - "pages/vomnibar.html" - ] -} +{"manifest_version":2,"name":"Vimium","version":"1.49","description":"The Hacker's Browser. Vimium provides keyboard shortcuts for navigation and control in the spirit of Vim.","icons":{"16":"icons/icon16.png","48":"icons/icon48.png","128":"icons/icon128.png"},"background":{"scripts":["lib/utils.js","background_scripts/commands.js","lib/clipboard.js","background_scripts/sync.js","background_scripts/settings.js","background_scripts/exclusions.js","background_scripts/completion.js","background_scripts/marks.js","background_scripts/main.js"]},"options_page":"pages/options.html","permissions":["tabs","bookmarks","history","clipboardRead","storage","sessions","<all_urls>"],"content_scripts":[{"matches":["<all_urls>"],"js":["lib/utils.js","lib/keyboard_utils.js","lib/dom_utils.js","lib/rect.js","lib/handler_stack.js","lib/clipboard.js","content_scripts/ui_component.js","content_scripts/link_hints.js","content_scripts/vomnibar.js","content_scripts/scroller.js","content_scripts/marks.js","content_scripts/mode.js","content_scripts/mode_insert.js","content_scripts/mode_passkeys.js","content_scripts/mode_find.js","content_scripts/mode_visual_edit.js","content_scripts/vimium_frontend.js"],"css":["content_scripts/vimium.css"],"run_at":"document_start","all_frames":true},{"matches":["file:///","file:///*/"],"css":["content_scripts/file_urls.css"],"run_at":"document_start","all_frames":true}],"browser_action":{"default_icon":"icons/browser_action_disabled.png","default_popup":"pages/popup.html"},"web_accessible_resources":["pages/vomnibar.html"],"update_url":"http://philc.github.com/vimium/updates.xml"}
\ No newline at end of file |
