File: Makefile

package info (click to toggle)
python-pyknon 1.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 288 kB
  • sloc: python: 2,172; makefile: 128; sh: 7
file content (22 lines) | stat: -rw-r--r-- 344 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.PHONY: coverage test coverage docs

test:
	py.test

coverage:
	py.test --cov=pyknon --cov-report=html

docs:
	cd docs && make html

view: docs
	open docs/_build/html/index.html

clean:
	find . -name "*.pyc" | xargs rm -f
	find . -name "__pycache__" | xargs rm -rf
	rm -rf .cache .coverage htmlcov

cleanall: clean
	rm -rf htmlcov docs/_build