commit
d8167fbd72
@ -0,0 +1,23 @@
|
|||||||
|
PYTHON=python3
|
||||||
|
PYCODESTYLE=pycodestyle
|
||||||
|
|
||||||
|
.DEFAULT_GOAL = help
|
||||||
|
|
||||||
|
help:
|
||||||
|
@echo "The following targets are supported:"
|
||||||
|
@echo " setup install required packages"
|
||||||
|
@echo " test run the tests"
|
||||||
|
|
||||||
|
|
||||||
|
setup:
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
test:
|
||||||
|
${PYCODESTYLE} *.py
|
||||||
|
${PYTHON} -m pytest
|
||||||
|
|
||||||
|
clean:
|
||||||
|
@echo "cleaning"
|
||||||
|
|
||||||
|
.PHONY: setup test clean help
|
@ -1,2 +1,8 @@
|
|||||||
flask
|
flask
|
||||||
flask_flatpages
|
flask_flatpages
|
||||||
|
|
||||||
|
pytest
|
||||||
|
pytest-cov
|
||||||
|
requests
|
||||||
|
pycodestyle
|
||||||
|
codecov
|
||||||
|
Loading…
Reference in New Issue