-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
49 lines (34 loc) · 887 Bytes
/
justfile
File metadata and controls
49 lines (34 loc) · 887 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
dev:
cargo build
clippy:
cargo clippy --workspace -- -Dwarnings
test:
cargo-nextest nextest run --workspace
wtest:
watchexec -e rs cargo nextest run --workspace
check:
cargo check
fmt:
cargo fmt
doc:
typos
cargo doc --no-deps --workspace
nix:
nix flake check
jdk:
cargo run --release -- ast-check-jdk
audit:
cargo audit fix
cd ./editor/vscode && pnpm audit --fix
cd ./editor/vscode && pnpm install
cd ./editor/vscode && pnpm audit
cd ./editor/vscode/client && npm audit fix
cd ./editor/vscode/client && npm audit
cleanup:
cargo-machete --with-metadata || true
precommit: fmt check test clippy doc dev cleanup nix check-jdk
p: precommit
check-jdk:
cargo run --release -- ast-check-jdk
fuzz:
nix develop .#fuzz --command bash -c "FUZZ_TIME=300; for t in \$(cargo-fuzz list); do cargo-fuzz build "\$t" && cargo-fuzz run "\$t"; done"