summaryrefslogtreecommitdiff
path: root/Makefile
blob: d1f91296fe40214d3ed4684d50875e6836a16337 (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
.PHONY: test coverage docs html_coverage release clean


test:
	bash run_tests.sh

coverage:
	python test/testall.py coverage

html_coverage:
	python test/testall.py coverage html

docs:
	cd apidoc/; $(MAKE) html
	mkdir -p build
	rm -rf build/docs
	mv apidoc/html build/docs

release:
	python setup.py release sdist upload

clean:
	find . -name '*.pyc' -exec rm -f {} +
	find . -name '*.pyo' -exec rm -f {} +
	find . -name '*~' -exec rm -f {} +
	find . -name '._*' -exec rm -f {} +
	find . -name '.coverage*' -exec rm -f {} +