-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathjustfile
More file actions
42 lines (36 loc) · 1.5 KB
/
Copy pathjustfile
File metadata and controls
42 lines (36 loc) · 1.5 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
40
41
42
# Development workflows. Run `just setup` once per clone; keep `just ci`
# green before every push — never push red.
# materialize the pinned toolchain and wire the repo-local git hooks
setup:
rustup toolchain install
rustup show
git config core.hooksPath .githooks
fmt:
cargo fmt --all
test:
cargo test --workspace
# wire the repo-local git hooks (commit-msg soft guard)
hooks:
git config core.hooksPath .githooks
# everything CI gates on, locally
ci:
cargo fmt --all --check
cargo clippy --workspace --all-targets -- -D warnings
# conformance/extractor is its own workspace, so the lines above stop at
# its door; CI gates it separately and so does this.
cargo fmt --manifest-path conformance/extractor/Cargo.toml --all --check
cargo clippy --manifest-path conformance/extractor/Cargo.toml --locked --all-targets -- -D warnings
cargo test --workspace
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --workspace
cargo deny check
./scripts/check-isolation.sh
./scripts/check-plurals.sh
./scripts/check-schemas.sh
./scripts/record-fixtures.sh --check
./scripts/check-skill-version.sh
# Not run here: `just termlens-cli`. CI runs it, but it `cargo install`s
# termlens-cli from crates.io, and `just ci` should not reach the network
# or put a binary on a contributor's machine without being asked.
# the `#[ignore]`d termlens-cli suite (installs termlens-cli into target/)
termlens-cli:
cargo test -p reconverge-tui --test cli -- --ignored