summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2022-09-18 20:23:17 +0200
committervg <vgm+dev@devys.org>2022-09-18 20:23:17 +0200
commit21908c97c1e897554751070d08e2b35694529bc0 (patch)
tree7435287f77e165a343134a152a1b8ff2b0f964ee /Makefile
parentf02ba5ad748b9cbad129274aecb5b26d3ce3a2ba (diff)
downloadgamechest-21908c97c1e897554751070d08e2b35694529bc0.tar.gz
gamechest-21908c97c1e897554751070d08e2b35694529bc0.tar.bz2
gamechest-21908c97c1e897554751070d08e2b35694529bc0.zip
git-sync on seele
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6dde37e..a7c6f06 100644
--- a/Makefile
+++ b/Makefile
@@ -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