-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathjustfile
38 lines (30 loc) · 845 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
dev:
just fmt
just lint
just test
just unstable-test
just miri
fmt *ARGS:
cargo fmt --all {{ARGS}}
lint *ARGS:
cargo clippy --all-features --tests --benches {{ARGS}}
test *ARGS:
cargo test {{ARGS}}
cargo test --features all {{ARGS}}
cargo test --release {{ARGS}}
cargo test --release --features all {{ARGS}}
unstable-test *ARGS:
cargo test --all-features {{ARGS}}
cargo test --all-features --release {{ARGS}}
miri *ARGS:
cargo +nightly miri test --all-features {{ARGS}}
doc *ARGS:
RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --open --no-deps --all-features {{ARGS}}
ci:
just fmt --check
just lint -- -D warnings
just test
just miri
sync-version:
cargo set-version -p const-str-proc-macro '0.6.1'
cargo set-version -p const-str '0.6.1'