blob: f846f5f691eec9487f62b336100d8275a7a53861 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
TEMPDIR=build
DEST=$PWD
cd $TEMPDIR
TARGET=$1
if test $1 != "firefox" -a $1 != "chrome"
then
echo "Unknown extension target. Use 'firefox' or 'chrome'"
exit 1
fi
cp manifest-$TARGET.json manifest.json # Set manifest for browser
zip -r $DEST/reclaim-plugin-$TARGET-$(git describe --tags).zip -FS *
cd $DEST
|