-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathjustfile
37 lines (30 loc) · 898 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
default: check
bench:
cargo bench --manifest-path num-format-benches/Cargo.toml
check:
cargo clippy --all-features --all-targets --tests --workspace
clippy: check
fmt:
cargo fmt --all
locale:
cargo run --manifest-path num-format-dev/Cargo.toml
cargo fmt --all
readme:
#!/usr/bin/env bash
set -euo pipefail
(
cd num-format
cargo readme > README.md
)
cp num-format/README.md ./README.md
(
cd num-format-windows
cargo readme > README.md
)
test:
cargo fmt --all --check
cargo clippy --all-features --all-targets --tests --workspace -- -D warnings
cargo hack --package num-format --feature-powerset test
cargo hack --package num-format-benches --feature-powerset test
cargo hack --package num-format-dev --feature-powerset test
cargo hack --package num-format-windows --feature-powerset test