Skip to content

Commit

Permalink
Build script for XPI (with JAR no less!). Sadly the JS module can't b…
Browse files Browse the repository at this point in the history
…e put in the JAR :(
  • Loading branch information
philikon committed May 10, 2010
1 parent 51c0758 commit ca263c0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build
release.xpi
13 changes: 13 additions & 0 deletions chrome.manifest.rel
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
content bartab jar:bartab.jar!/content/
resource bartab modules/
locale bartab en-US jar:bartab.jar!/locale/en-US/
locale bartab ja jar:bartab.jar!/locale/ja/
locale bartab de jar:bartab.jar!/locale/de/
locale bartab de-DE jar:bartab.jar!/locale/de/
locale bartab pl jar:bartab.jar!/locale/pl/
locale bartab pl-PL jar:bartab.jar!/locale/pl/
locale bartab fr jar:bartab.jar!/locale/fr/
locale bartab ru jar:bartab.jar!/locale/ru/
locale bartab es-ES jar:bartab.jar!/locale/es-ES/

overlay chrome://browser/content/browser.xul chrome://bartab/content/browser.xul
11 changes: 11 additions & 0 deletions makexpi.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/sh
rm -Rf build release.xpi
mkdir build

cp chrome.manifest.rel build/chrome.manifest

cp -R install.rdf icon.png defaults modules build
zip -r build/bartab.jar content locale

cd build
zip -r ../release.xpi *

0 comments on commit ca263c0

Please sign in to comment.