From 2bc076641485c8d52a86441898d62c0fb86231fb Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Sun, 15 Sep 2019 00:15:00 +0200 Subject: [pkg] entrypoint for all vendored builds --- branding/scripts/build-all-providers | 17 +++++++++++++++++ branding/templates/makefile/Makefile | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100755 branding/scripts/build-all-providers (limited to 'branding') 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\ -- cgit v1.2.3