mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 13:38:43 +00:00
Test building doc in ci.yml
/lint (#999)
This commit is contained in:
parent
0261d12d9d
commit
c65e1269a0
1 changed files with 4 additions and 1 deletions
5
justfile
5
justfile
|
@ -214,12 +214,15 @@ test: unit-tests build e2e-tests
|
||||||
clippy: print-env
|
clippy: print-env
|
||||||
{{cargo-bin}} clippy --no-deps -- -D clippy::all
|
{{cargo-bin}} clippy --no-deps -- -D clippy::all
|
||||||
|
|
||||||
|
doc: print-env
|
||||||
|
cargo doc --no-deps --workspace
|
||||||
|
|
||||||
fmt: print-env
|
fmt: print-env
|
||||||
cargo fmt --all -- --check
|
cargo fmt --all -- --check
|
||||||
|
|
||||||
fmt-check: fmt
|
fmt-check: fmt
|
||||||
|
|
||||||
lint: clippy fmt-check
|
lint: clippy fmt-check doc
|
||||||
|
|
||||||
# Rm dev-dependencies for `cargo-check` and clippy to speedup compilation.
|
# Rm dev-dependencies for `cargo-check` and clippy to speedup compilation.
|
||||||
# This is a workaround for the cargo nightly option `-Z avoid-dev-deps`
|
# This is a workaround for the cargo nightly option `-Z avoid-dev-deps`
|
||||||
|
|
Loading…
Add table
Reference in a new issue