diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2019-09-15 00:15:00 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2019-09-15 00:22:49 +0200 |
commit | 2bc076641485c8d52a86441898d62c0fb86231fb (patch) | |
tree | d4ef8e5532f0c0c89882d7302d88763a5251f622 /branding | |
parent | 2027a761fd43300551490f32468f51523394e8c2 (diff) |
[pkg] entrypoint for all vendored builds
Diffstat (limited to 'branding')
-rwxr-xr-x | branding/scripts/build-all-providers | 17 | ||||
-rwxr-xr-x | branding/templates/makefile/Makefile | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/branding/scripts/build-all-providers b/branding/scripts/build-all-providers new file mode 100755 index 0000000..2efcfc5 --- /dev/null +++ b/branding/scripts/build-all-providers @@ -0,0 +1,17 @@ +#!/bin/bash + +# run the build process for all the providers passed +# on a environment variable + +: "${PROVIDERS:=riseup}" + +set -e + +export XBUILD=yes + +for _provider in $PROVIDERS; do + export PROVIDER=$_provider; + make prepare + make build + make packages +done diff --git a/branding/templates/makefile/Makefile b/branding/templates/makefile/Makefile index 3e6332f..39c4a50 100755 --- a/branding/templates/makefile/Makefile +++ b/branding/templates/makefile/Makefile @@ -54,8 +54,8 @@ pkg_osx: echo "[+] Building osx package..." cp ../bin/darwin/bitmask-vpn dist/$(APPNAME).app/Contents/MacOS/ cp ../bin/darwin/bitmask-helper dist/$(APPNAME).app/Contents/MacOS/ - chmod +x $(STAGING)/openvpn-osx cp $(STAGING)/openvpn-osx dist/$(APPNAME).app/Contents/Resources/openvpn.leap + chmod +x dist/$(APPNAME).app/Contents/Resources/openvpn.leap ifeq ($(SYSTEM), Darwin) osx/quickpkg --output dist/$(APPNAME)-$(VERSION)_unsigned.pkg --scripts osx/scripts/ dist/$(APPNAME).app/ @if [ $(BUILD_RELEASE) = no ]; then\ |