-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (26 loc) · 668 Bytes
/
Makefile
File metadata and controls
36 lines (26 loc) · 668 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
29
30
31
32
33
34
35
36
all: build-inplace
build-inplace:
python3 setup.py build_ext -i
python3 setup.py build_rust -i
coverage: build-inplace
python3 -m coverage run -m unittest tests.test_suite
coverage-html:
python3 -m coverage html
check:: style
style:
PYTHONPATH=$(shell pwd)/py ruff check py
fix:
ruff check --fix py
cargo fmt --all
format:
ruff format py
cargo fmt --all
check:: testsuite
testsuite:: build-inplace
PYTHONPATH=$(shell pwd)/py python3 -m unittest tests.test_suite
testsuite::
cargo test --no-default-features
cargo test --no-default-features --features cli
cargo test --no-default-features --features debian
cargo test
cargo test --all-features