Debian Codegraph @

Makefile

raw
1 # ----------------------------------------------------------------------------
2 # Copyright (c) 2013--, biom-format development team.
3 #
4 # Distributed under the terms of the Modified BSD License.
5 #
6 # The full license is in the file COPYING.txt, distributed with this software.
7 # ----------------------------------------------------------------------------
8
9 ifeq ($(WITH_DOCTEST), TRUE)
10 TEST_COMMAND = pytest --doctest-modules --doctest-glob='*.pyx'
11 else
12 TEST_COMMAND = pytest
13 endif
14
15 .PHONY: doc lint test
16
17 test:
18 $(TEST_COMMAND)
19 sh usage_tests.sh
20
21 lint:
22 flake8 biom setup.py --exclude=biom/tests/long_lines.py
23
24 doc:
25 $(MAKE) -C doc clean html