summaryrefslogtreecommitdiff
path: root/makefile
blob: ec7074254cbf8b8611d95098031c857522d1ec99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

help:
	@echo "jsonpatch"
	@echo "Makefile targets"
	@echo " - test: run tests"
	@echo " - coverage: run tests with coverage"
	@echo
	@echo "To install jsonpatch, type"
	@echo "  python setup.py install"
	@echo

test:
	python -Wd -m coverage run --branch --source=jsonpatch tests.py
	coverage report --show-missing

coverage:
	coverage run --source=jsonpatch tests.py
	coverage report -m