File: Makefile

package info (click to toggle)
python-upstream-ontologist 0.2.8-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 396 kB
  • sloc: python: 262; makefile: 25
file content (25 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (3)
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
.PHONY: build check unittest coverage coverage-html typing

build:
	python3 setup.py build_ext -i

check:: unittest-py

unittest-py: build
	PYTHONPATH=$(shell pwd)/py python3 -m unittest tests.test_suite

cargo-test:
	cargo test

check:: cargo-test

coverage: build
	PYTHONPATH=$(shell pwd)/py python3 -m coverage run -m unittest tests.test_suite

coverage-html: coverage
	python3 -m coverage html

check:: typing

typing:
	mypy py/ tests/