-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
39 lines (28 loc) · 1.12 KB
/
Justfile
File metadata and controls
39 lines (28 loc) · 1.12 KB
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
set dotenv-load := true
default: list
list:
just --list
reedme:
cargo reedme --workspace
reedme-check:
cargo reedme --workspace --check
test *args:
cargo nextest run --workspace {{ args }} < /dev/null
doc-tests *args:
cargo test --workspace --doc {{ args }}
clippy:
cargo clippy --workspace --all-features --all-targets --keep-going -- -D warnings --allow deprecated
docs:
cargo doc --workspace --all-features --no-deps --document-private-items --keep-going
lockfile:
cargo update --workspace --locked
msrv:
cargo hack check --rust-version --workspace --locked --ignore-private --keep-going
cargo hack check --rust-version --workspace --locked --ignore-private --keep-going --all-features
miri-json:
#!/usr/bin/env -S bash -euo pipefail
export RUSTUP_TOOLCHAIN=nightly
export MIRIFLAGS="-Zmiri-strict-provenance -Zmiri-env-forward=NEXTEST"
rustup toolchain install "${RUSTUP_TOOLCHAIN}"
rustup "+${RUSTUP_TOOLCHAIN}" component add miri rust-src llvm-tools-preview
cargo miri nextest run --target-dir target/miri -p facet-json -E 'not test(/jit/) and not test(/tendril/)'