mirror of
https://github.com/venthur/blag.git
synced 2025-11-25 12:42:41 +00:00
Added makefile
This commit is contained in:
27
Makefile
Normal file
27
Makefile
Normal 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
|
||||
Reference in New Issue
Block a user