Makefile for quick env setup

This commit is contained in:
Frida Hjelm 2017-12-29 22:58:27 +01:00
parent a2072327d9
commit ad68be48b9

13
Makefile Normal file
View file

@ -0,0 +1,13 @@
env:
test -e .env || virtualenv .env -p python3
. ./.env/bin/activate \
&& pip install -r requirements.txt
game: env
test -e .env || virtualenv .env -p python3
. ./.env/bin/activate \
&& pip install -r requirements.txt \
&& python -u game.py
clean:
rm -rf .env