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 [ -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 for Linux."
echo "Preparing electron package $IGUANA_VERSION" && \ ./buildscripts/electron-build-linux.sh
source ./electron-build-linux.sh && echo "done." echo
echo "Build script for Iguana application for Windows ia32 and x64 platform." echo "Preparing electron package $IGUANA_VERSION for Windows."
echo "Preparing electron package $IGUANA_VERSION" && \ ./buildscripts/electron-build-win.sh
source ./electron-build-win.sh && echo "done." echo
echo "Build script for Iguana application for MacOS platform." echo "Preparing electron package $IGUANA_VERSION for MacOS."
echo "Preparing electron package $IGUANA_VERSION" && \ ./buildscripts/electron-build-osx.sh
source ./electron-build-osx.sh && echo "done." echo

9
buildscripts/electron-build-linux.sh

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

5
buildscripts/electron-build-osx.sh

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

9
buildscripts/electron-build-win.sh

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