]> git.ktnx.net Git - icedeb.git/blob - build
initial implementation of e10s. XUL/XPCOM is dropped
[icedeb.git] / build
1 #!/bin/sh
2
3 set -e
4 set -u
5
6 export PKG=icedeb
7
8 btn2png() {
9     local tag="$1"
10     local btn="${2:-$tag}"
11
12     xcf2png -o "chrome/content/$PKG-$btn.png" res/button-bts.xcf "base" "$tag small" "$tag big"
13 }
14
15 xcf2png -o "icons/icedeb-addon.png" res/icon.xcf -f -T
16
17 btn2png bts
18 btn2png pts
19 btn2png deb
20 btn2png ML ml
21 btn2png DD ddpo
22 btn2png buildd
23 btn2png security
24
25 [ ! -e $PKG.xpi ] || rm $PKG.xpi
26
27 zip -r $PKG.xpi README TODO res \
28     icedeb.html icedeb.css icedeb.js icedeb-content.js icons manifest.json