-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
39 lines (29 loc) · 677 Bytes
/
Makefile
File metadata and controls
39 lines (29 loc) · 677 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
29
30
31
32
33
34
35
36
37
38
39
.PHONY: clean-pyc
default: test
clean-pyc:
@find . -iname '*.py[co]' -delete
@find . -iname '__pycache__' -delete
@find . -iname '.coverage' -delete
@rm -rf htmlcov/
@rm -rf *.tox/
@rm -f coverage.*
clean-dist:
@rm -rf dist/
@rm -rf build/
@rm -rf *.egg-info
clean: clean-pyc clean-dist
lint:
pre-commit run -a -v
test:
pytest
test-ci: clean lint test
dist: clean
uv build
release: dist
git tag `python setup.py -q version`
git push origin `python setup.py -q version`
twine upload dist/*
changelog-preview:
@echo "\nmaster ("$$(date '+%Y-%m-%d')")"
@echo "-------------------\n"
@git log $$(python setup.py -q version)...master --oneline --reverse