File: Makefile

package info (click to toggle)
python-biom-format 2.1.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 52,044 kB
  • sloc: python: 13,624; makefile: 149; sh: 105; javascript: 45
file content (25 lines) | stat: -rw-r--r-- 645 bytes parent folder | download
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
# ----------------------------------------------------------------------------
# Copyright (c) 2013--, biom-format development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
# ----------------------------------------------------------------------------

ifeq ($(WITH_DOCTEST), TRUE)
	TEST_COMMAND = pytest --doctest-modules --doctest-glob='*.pyx'
else
	TEST_COMMAND = pytest
endif

.PHONY: doc lint test

test:
	$(TEST_COMMAND)
	sh usage_tests.sh

lint:
	flake8 biom setup.py --exclude=biom/tests/long_lines.py

doc:
	$(MAKE) -C doc clean html