]> gitweb.michael.orlitzky.com - dunshire.git/blob - makefile
Pylint cleanup for tests.
[dunshire.git] / makefile
1 PN := dunshire
2 SRCS := src/$(PN)/*.py src/test/*.py
3
4 doc: $(SRCS) doc/source/conf.py doc/makefile
5 cd doc && $(MAKE) html
6
7 .PHONY: doctest
8 doctest:
9 cd doc && $(MAKE) doctest
10
11 .PHONY: check
12 check:
13 PYTHONPATH=src python src/test/suite.py
14
15 .PHONY: lint
16 lint:
17 pylint --rcfile=./.pylintrc $(SRCS)
18
19 .PHONY: clean
20 clean:
21 rm -rf src/$(PN)/__pycache__ src/test/__pycache__ doc/build