-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (32 loc) · 739 Bytes
/
Makefile
File metadata and controls
40 lines (32 loc) · 739 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
37
38
39
40
.DEFAULT_GOAL := all
.PHONY: build
build:
maturin develop --release
.PHONY: format
format:
ruff format python/ tests/
ruff check --fix python/ tests/
cargo fmt
.PHONY: lint
lint:
ruff check python/ tests/
ruff format --check --diff python/ tests/
ty check python/ tests/
.PHONY: test
test:
pytest tests -vvv
.PHONY: bench
bench:
benchdiff benchmarks/ --repeat 10 --times 1000
.PHONY: bench-report
bench-report:
benchdiff benchmarks/bench_report.py --repeat 10 --times 1000 --svg docs/benchmarks.svg
benchdiff benchmarks/bench_report.py --repeat 10 --times 1000
.PHONY: docs_build
docs_build:
zensical build
.PHONY: docs_serve
docs_serve:
zensical serve --dev-addr localhost:8080
.PHONY: all
all: format build lint test