File: makefile

package info (click to toggle)
python-json-patch 1.23-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 244 kB
  • sloc: python: 1,252; makefile: 159; sh: 19
file content (18 lines) | stat: -rw-r--r-- 388 bytes parent folder | download
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