-
Notifications
You must be signed in to change notification settings - Fork 80
/
justfile
38 lines (26 loc) · 862 Bytes
/
justfile
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
# https://github.com/casey/just
default: build test lint
build:
cargo build
test:
RUST_LOG=trace cargo nextest run
test-verbose:
RUST_LOG=trace cargo nextest run --no-capture
lint:
cargo clippy --fix --allow-dirty --allow-staged
clean:
cargo clean
fmt:
cargo +nightly fmt
generate-test-classes:
cd ./reader/tests/resources && rm -f *.class && ./compile.sh
cd ./vm/tests/resources && rm -f *.class && ./compile.sh
count-lines:
wc -l */{src,tests}/**/*.rs */{src,tests}/*.rs */tests/resources/**/*.java
miri:
cargo clean
MIRIFLAGS="-Zmiri-disable-isolation -Zmiri-report-progress" cargo +nightly miri test
prof-vm-integration: clean
cd vm && CARGO_PROFILE_BENCH_DEBUG=true cargo flamegraph --test integration --root && open flamegraph.svg
find-unused-dependencies:
cargo +nightly udeps --all-targets