diff options
| author | vg <vgm+dev@devys.org> | 2026-02-04 17:13:33 +0100 |
|---|---|---|
| committer | vg <vgm+dev@devys.org> | 2026-02-04 17:13:33 +0100 |
| commit | ee19678416bee1c26c056a08e2bff2a09f12b318 (patch) | |
| tree | 133522cabf4efd83a693ec9e98ffa46bd5737d81 /Makefile | |
| parent | 59037df198cc93b8e1328be2ba3830f7705347b2 (diff) | |
| download | gamechest-ee19678416bee1c26c056a08e2bff2a09f12b318.tar.gz gamechest-ee19678416bee1c26c056a08e2bff2a09f12b318.tar.bz2 gamechest-ee19678416bee1c26c056a08e2bff2a09f12b318.zip | |
git-sync on ditawip
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 46 |
1 files changed, 26 insertions, 20 deletions
@@ -1,22 +1,28 @@ -.PHONY: all -all: zipapp - make -C pygame deploy - if [ -e ~/syncthing/gamesaves/ ]; then cp ./gamechesttui ~/syncthing/gamesaves/tools/bin/. ; elif [ -e ~/game-saves ]; then cp ./gamechesttui ~/game-saves/tools/bin/. ; fi - -static-fix: - isort --order-by-type --atomic gamechestcli +#.PHONY: all +#all: zipapp +# make -C pygame deploy +# if [ -e ~/syncthing/gamesaves/ ]; then cp ./gamechesttui ~/syncthing/gamesaves/tools/bin/. ; elif [ -e ~/game-saves ]; then cp ./gamechesttui ~/game-saves/tools/bin/. ; fi +# +#static-fix: +# isort --order-by-type --atomic gamechestcli +# +#.PHONY: zipapp +#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 ~/syncthing/gamesaves ]; then mv /tmp/gamechest.pyz ~/syncthing/gamesaves/tools/bin/. ; elif [ -e ~/game-saves ]; then mv /tmp/gamechest.pyz ~/game-saves/tools/bin/. ; fi +# +##.PHONY: clipcopy +##clicopy: +## if [ -e ~/syncthing/gamesaves ]; then cp /tmp/gamechest.pyz ~/syncthing/gamesaves/tools/bin/. ; elif [ -e ~/game-saves ]; then mv /tmp/gamechest.pyz ~/game-saves/tools/bin/. ; fi -.PHONY: zipapp -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 ~/syncthing/gamesaves ]; then mv /tmp/gamechest.pyz ~/syncthing/gamesaves/tools/bin/. ; elif [ -e ~/game-saves ]; then mv /tmp/gamechest.pyz ~/game-saves/tools/bin/. ; fi - -#.PHONY: clipcopy -#clicopy: -# if [ -e ~/syncthing/gamesaves ]; then cp /tmp/gamechest.pyz ~/syncthing/gamesaves/tools/bin/. ; elif [ -e ~/game-saves ]; then mv /tmp/gamechest.pyz ~/game-saves/tools/bin/. ; fi +.PHONY: all +all: upgrade +.PHONY: upgrade +upgrade: + uv tool upgrade gamechest |
