forked from clintmod/macprefs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (23 loc) · 661 Bytes
/
Makefile
File metadata and controls
28 lines (23 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
clean:
find . -name '*.pyc' -delete
rm -rf '__pycache__'
rm -rf .cache
rm -rf .tmontmp
rm -rf .coverage
rm -rf .testmondata
rm -rf cov.xml
setup:
pip install -r requirements.txt
test:
pytest --cov=. --cov-report xml:cov.xml --cov-report term-missing
lint:
pylint *.py
publish: test
python publish.py
help:
@echo "COMMANDS:"
@echo " clean Remove all generated files."
@echo " setup Setup development environment."
@echo " test Run tests."
@echo " lint Run analysis tools."
@echo " publish Tag and push to github and update the brew formula with the new url and sha256 and push to github"