14 lines
284 B
Makefile
14 lines
284 B
Makefile
|
.PHONY: dev prod run test
|
||
|
|
||
|
dev: dev-requirements.txt
|
||
|
pip install -r dev-requirements.txt
|
||
|
|
||
|
prod: requirements.txt
|
||
|
pip install -r requirements.txt
|
||
|
|
||
|
run: prod
|
||
|
FLASK_DEBUG=1 FLASK_APP=snappass.main NO_SSL=True venv/bin/flask run
|
||
|
|
||
|
test:
|
||
|
PYTHONPATH=snappass venv/bin/nosetests -s tests
|