aboutsummaryrefslogtreecommitdiffstats
path: root/onhold/pygame/Makefile
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2026-11-22 00:38:36 +0100
committervg <vgm+dev@devys.org>2026-11-22 00:38:36 +0100
commitda9c43e9bbc679db214e049676c6b29dfb78654b (patch)
treeabbcacebff30ba207841adfa49d172efaf7a345a /onhold/pygame/Makefile
parentfacb0c19cd5a8742eefdbca71d72450a7a040904 (diff)
downloadgamechest-wip.tar.gz
gamechest-wip.tar.bz2
gamechest-wip.zip
git-sync on ditawip
Diffstat (limited to 'onhold/pygame/Makefile')
-rw-r--r--onhold/pygame/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/onhold/pygame/Makefile b/onhold/pygame/Makefile
new file mode 100644
index 0000000..8a2e506
--- /dev/null
+++ b/onhold/pygame/Makefile
@@ -0,0 +1,22 @@
+.PHONY: all
+all: deploy
+
+#.PHONY: zipapp
+#zipapp:
+# rm -rf /tmp/gamechestgui.zipapp
+# mkdir /tmp/gamechestgui.zipapp
+# pip3 install --target /tmp/gamechestgui.zipapp -r ../gamechestcli/requirements.txt
+# pip3 install --target /tmp/gamechestgui.zipapp -r requirements.txt
+# rsync -Pa ../gamechestcli/gamechest /tmp/gamechestgui.zipapp/.
+# rsync -Pa __main__.py profiledb.py /tmp/gamechestgui.zipapp/.
+# python3 -m zipapp -p "/usr/bin/env python3" /tmp/gamechestgui.zipapp
+# if [ -e ~/games/.saves ]; then mv /tmp/gamechestgui.pyz ~/games/.saves/tools/bin/. ; elif [ -e ~/game-saves ]; then mv /tmp/gamechestgui.pyz ~/game-saves/tools/bin/. ; fi
+
+.PHONY: deploy
+deploy:
+ #rm -rf ~/games/.saves/tools/bin/libs/gamechestgui
+ mkdir -p ~/games/.saves/tools/bin/libs/gamechestgui
+ #pip3 install -U --target ~/games/.saves/tools/bin/libs/gamechestgui -r ../gamechestcli/requirements.txt
+ #pip3 install -U --target ~/games/.saves/tools/bin/libs/gamechestgui -r requirements.txt
+ rsync -Pa ../gamechestcli/gamechest ~/games/.saves/tools/bin/libs/gamechestgui/.
+ rsync -Pa __init__.py profiledb.py ~/games/.saves/tools/bin/libs/gamechestgui/.