Makefile for quick env setup
This commit is contained in:
parent
a2072327d9
commit
ad68be48b9
1 changed files with 13 additions and 0 deletions
13
Makefile
Normal file
13
Makefile
Normal 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
|
Loading…
Add table
Reference in a new issue