-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathjustfile
More file actions
41 lines (32 loc) · 908 Bytes
/
justfile
File metadata and controls
41 lines (32 loc) · 908 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
dev:
just fmt
just lint
just test
just unstable-test
just miri
fmt *ARGS:
cargo fmt --all {{ARGS}}
lint *ARGS:
cargo clippy --all-features --all-targets {{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}}
coverage *ARGS:
cargo llvm-cov --all-features --html {{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 '1.1.0'
cargo set-version -p const-str '1.1.0'