Browse Source

buildscripts fixes

all-modes
michal maxian 8 years ago
parent
commit
42f0c34ac2
  1. 18
      buildscripts/electron-build-all.sh
  2. 9
      buildscripts/electron-build-linux.sh
  3. 5
      buildscripts/electron-build-osx.sh
  4. 9
      buildscripts/electron-build-win.sh

18
buildscripts/electron-build-all.sh

@ -4,14 +4,14 @@
[ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0
echo "Build script for Iguana application for Linux x32 and x64 platform."
echo "Preparing electron package $IGUANA_VERSION" && \
source ./electron-build-linux.sh && echo "done."
echo "Preparing electron package $IGUANA_VERSION for Linux."
./buildscripts/electron-build-linux.sh
echo
echo "Build script for Iguana application for Windows ia32 and x64 platform."
echo "Preparing electron package $IGUANA_VERSION" && \
source ./electron-build-win.sh && echo "done."
echo "Preparing electron package $IGUANA_VERSION for Windows."
./buildscripts/electron-build-win.sh
echo
echo "Build script for Iguana application for MacOS platform."
echo "Preparing electron package $IGUANA_VERSION" && \
source ./electron-build-osx.sh && echo "done."
echo "Preparing electron package $IGUANA_VERSION for MacOS."
./buildscripts/electron-build-osx.sh
echo

9
buildscripts/electron-build-linux.sh

@ -5,13 +5,12 @@
[ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0
echo "Build script for Iguana application for Linux x32 and x64 platform."
echo "Preparing electron package $IGUANA_VERSION" && \
electron-packager . --platform=linux --arch=x32 \
echo "Preparing electron package $IGUANA_VERSION"
electron-packager . --platform=linux --arch=ia32 \
--icon=assets/icons/iguana_app_icon_png/128x128.png \
--out=build/ --buildVersion=$IGUANA_VERSION \
--ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite && \
--ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite
electron-packager . --platform=linux --arch=x64 \
--icon=assets/icons/iguana_app_icon_png/128x128.png \
--out=build/ --buildVersion=$IGUANA_VERSION \
--ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite || \
echo "PROBLEM: Did you call script with IGUANA_VERSION variable?"
--ignore=assets/bin/win64 --ignore=assets/bin/osx --overwrite

5
buildscripts/electron-build-osx.sh

@ -5,9 +5,8 @@
[ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0
echo "Build script for Iguana application for MacOS platform."
echo "Preparing electron package $IGUANA_VERSION" && \
echo "Preparing electron package $IGUANA_VERSION"
electron-packager . --platform=darwin --arch=x64 \
--icon=assets/icons/iguana_app_icon.icns \
--out=build/ --buildVersion=$IGUANA_VERSION \
--ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite || \
echo "PROBLEM: Did you call script with IGUANA_VERSION variable?"
--ignore=assets/bin/win64 --ignore=assets/bin/linux64 --overwrite

9
buildscripts/electron-build-win.sh

@ -5,13 +5,14 @@
[ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0
echo "Build script for Iguana application for Windows ia32 and x64 platform."
echo "Preparing electron package $IGUANA_VERSION" && \
echo "Preparing electron package $IGUANA_VERSION"
electron-packager . --platform=win32 --arch=x64 \
--icon=assets/icons/iguana_app_icon.ico \
--out=build/ --buildVersion=$IGUANA_VERSION \
--ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite && \
--ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
electron-packager . --platform=win32 --arch=ia32 \
--icon=assets/icons/iguana_app_icon.ico \
--out=build/ --buildVersion=$IGUANA_VERSION \
--ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite || \
echo "PROBLEM: Did you call script with IGUANA_VERSION variable?"
--ignore=assets/bin/osx --ignore=assets/bin/linux64 --overwrite
Loading…
Cancel
Save