File: Makefile

package info (click to toggle)
python-semantic-version 2.3.1-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 272 kB
  • sloc: python: 1,355; makefile: 175
file content (28 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (2)
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