Browse Source

Merge pull request #60 from SuperNETorg/build_scripts

Build scripts
all-modes
Satinder Grewal 8 years ago
committed by GitHub
parent
commit
8673866a5b
  1. 17
      buildscripts/electron-build-all.sh
  2. 16
      buildscripts/electron-build-linux.sh
  3. 12
      buildscripts/electron-build-osx.sh
  4. 18
      buildscripts/electron-build-win.sh

17
buildscripts/electron-build-all.sh

@ -0,0 +1,17 @@
#!/bin/bash
### Build script for Iguana application for Linux x32 and x64 platform.
### Created by mmaxian, 3/2017
[ -z $IGUANA_VERSION ] && echo "IGUANA_VERSION variable is not set." && exit 0
echo "Preparing electron package $IGUANA_VERSION for Linux."
./buildscripts/electron-build-linux.sh
echo
echo "Preparing electron package $IGUANA_VERSION for Windows."
./buildscripts/electron-build-win.sh
echo
echo "Preparing electron package $IGUANA_VERSION for MacOS."
./buildscripts/electron-build-osx.sh
echo

16
buildscripts/electron-build-linux.sh

@ -0,0 +1,16 @@
#!/bin/bash
### Build script for Iguana application for Linux x32 and x64 platform.
### Created by mmaxian, 3/2017
[ -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=ia32 \
--icon=assets/icons/iguana_app_icon_png/128x128.png \
--out=build/ --buildVersion=$IGUANA_VERSION \
--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

12
buildscripts/electron-build-osx.sh

@ -0,0 +1,12 @@
#!/bin/bash
### Build script for Iguana application for MacOS platform.
### Created by mmaxian, 3/2017
[ -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"
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

18
buildscripts/electron-build-win.sh

@ -0,0 +1,18 @@
#!/bin/bash
### Build script for Iguana application for Windows ia32 and x64 platform.
### Created by mmaxian, 3/2017
[ -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"
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
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
Loading…
Cancel
Save