diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-04-21 19:58:08 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-04-30 22:10:24 +0200 |
commit | e977c3028d1bb0993b6c5bf29fcfb98b84d0870a (patch) | |
tree | de052a9c6c13be05c98945700b8f15b8a14c2af3 /docker/builder.sh | |
parent | b093455df6fb4dc2d9c1339a3ccff0aa6396088b (diff) |
[pkg] update to eoan, go versions, add helper script
Diffstat (limited to 'docker/builder.sh')
-rwxr-xr-x | docker/builder.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docker/builder.sh b/docker/builder.sh new file mode 100755 index 0000000..dad7800 --- /dev/null +++ b/docker/builder.sh @@ -0,0 +1,20 @@ +#!/bin/bash +set -e +export DESTDIR=/bitmask-vpn.orig/deploy/ +rm -rf /bitmask-vpn +cp -r /bitmask-vpn.orig /bitmask-vpn +cd /bitmask-vpn +make prepare +make build +case $XBUILD in + win) + make package_win + ;; + osx) + make package_osx + ;; + yes) + make packages + ;; +esac +cp /bitmask-vpn/deploy/* $DESTDIR |