Makefile 276 Bytes
Newer Older
1
.PHONY: docs tests check
2 3 4

# generate documentation
docs:
5
	cd docs && sphinx-apidoc -o . ../duniterpy && make clean && make html && cd ..
6 7 8

# run tests
tests:
9
	python3 -m unittest ${TESTS_FILTER}
10

11 12
# check static typing
check:
13
	python3 -m mypy duniterpy --ignore-missing-imports