summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-04-03 02:45:34 +0200
committerRuben Pollan <meskio@sindominio.net>2018-04-11 16:40:10 +0200
commit3169015c5f5eaed5f2ad48e486b1fe96e1eb6bbe (patch)
tree6394836b65afb6be4768504474964e677c75210a /Makefile
parent309ea9c35743c11dd29d809e713274840fb0b145 (diff)
several fixes for riseupvpn snap
- move snap folder to root folder, to allow automated builds - install only polkit file outside of snap - change path of bitmask-root accordingly in bitmask - fix check for polkit file inside snap - change and document the algorithm for picking bitmask-root in linux - add LD_LIBRARY_PATH as an environment entry for bitmask-systray
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f6895358..153d6130 100644
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,13 @@ bundle_in_docker_virtualenv:
cp -r bitmaskbuild/$(DIST_VERSION) dist/
rm -rf bitmaskbuild
+snap_in_docker:
+ cd pkg/riseupvpn && ./pack_installers && cd ..
+ sudo docker run -v $(PWD):$(PWD) -w $(PWD) snapcore/snapcraft snapcraft
+
+snap_clean:
+ sudo rm -rf stage prime parts
+
upload:
python setup.py sdist bdist_wheel --universal upload --sign -i kali@leap.se -r pypi