forked from fhoech/BarTab
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build script for XPI (with JAR no less!). Sadly the JS module can't b…
…e put in the JAR :(
- Loading branch information
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
build | ||
release.xpi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 * |