Skip to content
Permalink
Browse files

Workaround briefcase (python-linux-template) bug.

  • Loading branch information
nolanl committed Feb 6, 2020
1 parent 0923814 commit 7ced8ff90bde65e4b5df46c365e3732fd651fd78
Showing with 3 additions and 0 deletions.
  1. +3 −0 Makefile
@@ -6,16 +6,19 @@ VAGRANT=vagrant
.PHONY: linux
linux: DOCKER_EXTRA=$(shell [ -L build ] && P=$$(readlink build) && echo -v $$P/:$$P )
linux:
rm -rf linux
$(DOCKER) build --build-arg UID=$$(id -u) --build-arg GID=$$(id -g) \
-t boundery-client-linux -f ./docker/Dockerfile.linux ./docker
$(DOCKER) run -it --rm --user $$(id -u):$$(id -g) \
-v `pwd`/:/home/build/src $(DOCKER_EXTRA) boundery-client-linux \
python3 setup.py linux --build
sed -i 's/$$(readlink -f "$$0")/"$$(readlink -f "$$0")"/1' linux/Boundery\ Client #XXX Bug workaround.
tar zcvf linux/boundery-linux-client.tar.gz --xform 's,^linux/,boundery-linux-client/,' \
linux/app* linux/Boundery*

#.PHONY: android
#android:
# rm -rf android
# $(DOCKER) build --build-arg UID=$$(id -u) --build-arg GID=$$(id -g) \
# -t boundery-client-android -f ./docker/Dockerfile.android ./docker
# $(DOCKER) run -it --rm --user $$(id -u):$$(id -g) \

0 comments on commit 7ced8ff

Please sign in to comment.
You can’t perform that action at this time.