blob: 22e50d811b904b425a93de105e31157493a7b373 (
plain)
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
|
all: default
PACKAGE_DIR = src/semantic_version
default:
clean:
find . -type f -name '*.pyc' -delete
test:
python -W default setup.py test
coverage:
coverage erase
coverage run "--include=$(PACKAGE_DIR)/*.py,tests/*.py" --branch setup.py test
coverage report "--include=$(PACKAGE_DIR)/*.py,tests/*.py"
coverage html "--include=$(PACKAGE_DIR)/*.py,tests/*.py"
doc:
$(MAKE) -C docs html
.PHONY: all default clean coverage doc test
|