Commit 7ced8ff9 authored by Nolan's avatar Nolan

Workaround briefcase (python-linux-template) bug.

parent 09238143
......@@ -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) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment