Added makefile

This commit is contained in:
Bastian Venthur
2018-07-14 22:05:39 +02:00
parent afe4173c40
commit 1e15b6fd37
2 changed files with 27 additions and 0 deletions

27
Makefile Normal file
View File

@@ -0,0 +1,27 @@
.PHONY: \
test \
lint \
docs \
release \
clean
all: lint test
test:
pytest \
--cov=gron \
--cov-branch \
--cov-report=term-missing
lint:
flake8 gron
#docs:
# $(MAKE) -C docs html
release:
python3 setup.py sdist bdist_wheel upload
clean:
find . -type f -name *.pyc -delete
find . -type d -name __pycache__ -delete