better procedure to create firefox add-on
This commit is contained in:
parent
27e27af7ab
commit
d97273f683
4 changed files with 84 additions and 70 deletions
|
|
@ -60,4 +60,4 @@ cd $BUILDDIR
|
|||
zip -qr $ZIPFILE "`basename $APPDIR`"
|
||||
checkOK
|
||||
|
||||
echo "${OpenColor}${Yellow}\nThe Chrome Extension is ready at $BUILDDIR.${CloseColor}"
|
||||
echo "${OpenColor}${Yellow}\nThe Chrome Extension is ready at $BUILDDIR/copay-chrome-extension.zip${CloseColor}"
|
||||
|
|
|
|||
|
|
@ -22,6 +22,10 @@ APPDIR="$BUILDDIR/firefox-addon"
|
|||
ZIPFILE="copay-firefox-addon.zip"
|
||||
VERSION=`cut -d '"' -f2 $BUILDDIR/../../version.js`
|
||||
|
||||
|
||||
cfx >/dev/null
|
||||
checkOK
|
||||
|
||||
# Move to the build directory
|
||||
cd $BUILDDIR
|
||||
|
||||
|
|
@ -54,4 +58,12 @@ echo $CMD
|
|||
$CMD
|
||||
checkOK
|
||||
|
||||
echo "${OpenColor}${Yellow}\nThe Firefox add-on is ready at $BUILDDIR!${CloseColor}"
|
||||
rm -Rf $BUILDDIR/data
|
||||
mv $APPDIR/data $BUILDDIR
|
||||
checkOK
|
||||
|
||||
cd $BUILDDIR
|
||||
cfx xpi
|
||||
checkOK
|
||||
|
||||
echo "${OpenColor}${Yellow}\nThe Firefox add-on is ready at $BUILDDIR/copay.xpi!${CloseColor}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue