moved generator script to util path

This commit is contained in:
Mario Colque 2014-05-14 18:08:49 -03:00
parent a532fbb014
commit bca35f8139
1 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ CHROMEDIR="chrome-extension"
LIBDIR="$APPDIR/lib"
DOWNLOADDIR="$APPDIR/download"
CHROMEDOWNLOADDIR="$DOWNLOADDIR/chrome"
ZIPFILE="copay.zip"
CHROMEZIPFILE="copay-chrome-extension.zip"
@ -53,8 +54,8 @@ zip -r $ZIPFILE $APPDIR
echo -e "${OpenColor}${Green}* Zipping all chrome-extension files...${CloseColor}"
zip -r $CHROMEZIPFILE $CHROMEDIR
mkdir -p $DOWNLOADDIR
mkdir -p $CHROMEDOWNLOADDIR
mv $ZIPFILE $DOWNLOADDIR
mv $CHROMEZIPFILE $DOWNLOADDIR
mv $CHROMEZIPFILE $CHROMEDOWNLOADDIR
echo -e "${OpenColor}${Yellow}\nAwesome! Now you have the webapp in ./webapp and the chrome extension files in ./webapp/download/.${CloseColor}"