forked from openml/openml-python
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
Latest commit
28 lines (20 loc) · 473 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (20 loc) · 473 Bytes
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
26
27
28
# simple makefile to simplify repetitive build env management tasks under posix
PYTHON ?= python
CYTHON ?= cython
PYTEST ?= pytest
CTAGS ?= ctags
all: clean inplace test
check:
pre-commit run --all-files
clean:
$(PYTHON) setup.py clean
rm -rf dist openml.egg-info
in: inplace # just a shortcut
inplace:
$(PYTHON) setup.py build_ext -i
test-code: in
$(PYTEST) -s -v tests
test-coverage:
rm -rf coverage .coverage
$(PYTEST) -s -v --cov=. tests
test: test-code