diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -7,6 +7,17 @@ BUILD_RELEASE?=no OSX_CERT = "Developer ID Installer: LEAP Encryption Access Project" VERSION = $(shell git -C `go env GOPATH`/src/$(SYSTRAY) describe --tags --always) +TGZ_PATH = $(shell pwd)/dist/riseup-vpn-$(VERSION) +tgz: + mkdir -p $(TGZ_PATH) + git -C `go env GOPATH`/src/$(SYSTRAY) archive HEAD | tar -x -C $(TGZ_PATH) + mkdir $(TGZ_PATH)/helpers + wget -O $(TGZ_PATH)/helpers/bitmask-root https://0xacab.org/leap/bitmask-dev/raw/master/src/leap/bitmask/vpn/helpers/linux/bitmask-root + chmod +x $(TGZ_PATH)/helpers/bitmask-root + wget -O $(TGZ_PATH)/helpers/se.leap.bitmask.policy https://0xacab.org/leap/bitmask-dev/raw/master/src/leap/bitmask/vpn/helpers/linux/se.leap.bitmask.policy + cd dist; tar cvzf riseup-vpn-$(VERSION).tgz riseup-vpn-$(VERSION) + rm -r $(TGZ_PATH) + # ----------------------------------------------------------------------------- # Windows # ----------------------------------------------------------------------------- |