diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 | 
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@  static-fix:  	isort --order-by-type --atomic gamechestcli +zipapp: +	mkdir /tmp/gamechest.zipapp +	pip3 install --target /tmp/gamechest.zipapp -r gamechestcli/requirements.txt +	#pip3 install --target /tmp/gamechest.zipapp gamechestcli +	rsync -Pa gamechestcli/. /tmp/gamechest.zipapp/. +	python3 -m zipapp -p "/usr/bin/env python3" /tmp/gamechest.zipapp +	rm -r /tmp/gamechest.zipapp +	if [ -e ~/games/.saves ]; then mv /tmp/gamechest.pyz ~/games/.saves/tools/bin/. ; elif [ -e ~/game-saves ]; then mv /tmp/gamechest.pyz ~/game-saves/tools/bin/. ; fi  | 
