-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (26 loc) · 738 Bytes
/
Makefile
File metadata and controls
37 lines (26 loc) · 738 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: test fmt
check:
cargo check
bench:
cargo bench
bench-git:
cargo bench --features git
build: check
cargo build
test: check
cargo test -- --nocapture --test-threads 1
cargo test --features git -- --nocapture --test-threads 1
ci:
cargo test --verbose -- --nocapture
cargo test --verbose --features git -- --nocapture
coverage:
# https://github.com/taiki-e/cargo-llvm-cov#installation
cargo llvm-cov clean --workspace
cargo llvm-cov --no-report
cargo llvm-cov --no-report --features git
cargo llvm-cov report --lcov --output-path lcov.info --ignore-filename-regex test_helpers
fmt:
cargo fmt
flake:
nix build -L .#packages.x86_64-linux.default
.PHONY: all bench bench-git build check ci coverage flake fmt test