From d39adbba2883697fd5b7ec69b46cafd535efe021 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 14 Feb 2018 02:05:22 +0100 Subject: [pkg] add target for anonvpn bundles --- pkg/docker_build_riseupvpn | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'pkg/docker_build_riseupvpn') diff --git a/pkg/docker_build_riseupvpn b/pkg/docker_build_riseupvpn index 4cffcb49..ab859c27 100644 --- a/pkg/docker_build_riseupvpn +++ b/pkg/docker_build_riseupvpn @@ -7,24 +7,29 @@ # build bitmask-systray export GOPATH=/srv/go +echo "[+] Building deps for bitmask-systray..." go get 0xacab.org/leap/bitmask-systray cd /src/leap && git clone https://0xacab.org/leap/bitmask-systray cd bitmask-systray && go build . - cd /src/leap/bitmask-dev -RELEASE=bitmask-`cat pkg/next-version` cd $HOME echo "[+] CLONING REPO from $REPO [$BRANCH]" git clone $REPO bitmaskbuild cd bitmaskbuild +RELEASE=bitmask-`cat pkg/next-version` +echo "[+] RELEASE: $RELEASE" git checkout $BRANCH git fetch --tags mkdir -p dist/ # nuke mail rm -rf src/leap/bitmask/mail + +# get anonvpn bundle +VIRTUAL_ENV=/usr/local make bundle_anonvpn_linux +# copy systray binary cp /src/leap/bitmask-systray/bitmask-systray dist/${RELEASE}/lib/ -VIRTUAL_ENV=/usr/local make bundle_linux +# rename entrypoing +mv dist/${RELEASE}/bitmask dist/${RELEASE}/riseupvpn cp -r dist/* /dist - -- cgit v1.2.3