-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
50 lines (33 loc) · 759 Bytes
/
Copy pathjustfile
File metadata and controls
50 lines (33 loc) · 759 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
41
42
43
44
45
46
47
48
49
50
default:
@just --list
check: clippy test check-fmt lint
lint: lint-toml check-typos check-nix-fmt lint-actions
fmt: fmt-rust fmt-toml fmt-nix
build *args:
cargo build --workspace {{args}}
clippy:
cargo clippy --workspace -- -D warnings
test:
cargo nextest run --workspace
coverage:
cargo llvm-cov nextest --workspace --lcov --output-path lcov.info
coverage-html:
cargo llvm-cov nextest --workspace --html
check-fmt:
cargo fmt --all -- --check
fmt-rust:
cargo fmt --all
lint-toml:
taplo check
fmt-toml:
taplo fmt
check-nix-fmt:
alejandra --check flake.nix nix/
fmt-nix:
alejandra flake.nix nix/
check-typos:
typos
lint-actions:
actionlint
run *args:
cargo run -p nephila -- {{args}}