-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
36 lines (25 loc) · 1001 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
@_:
just --list
setup:
chmod +x .githooks/*
git config --local core.hooksPath .githooks
run *ARGS:
cargo run --bin astre -- {{ARGS}}
bump *ARGS:
cargo release --workspace --no-tag --no-push --no-publish $(convco version --bump) {{ARGS}}
release *ARGS:
cargo release --workspace --sign-tag {{ARGS}}
doc *ARGS:
RUSTFLAGS="-A unused_variables -A dead_code" RUST_BACKTRACE=1 cargo doc --no-deps {{ARGS}}
book *ARGS:
mdbook {{ARGS}}
snapshot-cleanup *ARGS:
RUSTFLAGS="-A unused_variables -A dead_code" RUST_BACKTRACE=1 cargo insta test --accept --unreferenced delete {{ARGS}}
snapshot *ARGS:
RUSTFLAGS="-A unused_variables -A dead_code" RUST_BACKTRACE=1 cargo insta test --accept {{ARGS}}
expand *ARGS:
RUSTFLAGS="-A unused_variables -A dead_code" RUST_BACKTRACE=1 cargo expand {{ARGS}}
test *ARGS:
RUSTFLAGS="-A unused_variables -A dead_code" RUST_BACKTRACE=1 cargo insta test {{ARGS}}
build *ARGS:
RUSTFLAGS="-A unused_variables -A dead_code" RUST_BACKTRACE=1 cargo build {{ARGS}}