diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,4 @@ +.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 @@ -5,6 +6,7 @@ all: zipapp 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 @@ -13,3 +15,8 @@ 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 + |
