You've already forked lint-policy
Improve minimal-versions handling and rustdoc
This commit is contained in:
@@ -10,32 +10,34 @@ all-min: update-min build lint test example doc format
|
||||
all-max: update-max build lint test example doc format
|
||||
|
||||
update-min:
|
||||
cargo +nightly update -Z minimal-versions
|
||||
cargo update -p is_terminal_polyfill --precise 1.48.2
|
||||
cargo +nightly update -Z direct-minimal-versions
|
||||
|
||||
update-max:
|
||||
cargo update
|
||||
cargo update
|
||||
|
||||
build:
|
||||
cargo hack --feature-powerset build
|
||||
cargo hack --feature-powerset build
|
||||
|
||||
lint:
|
||||
cargo hack --feature-powerset clippy -- -D warnings
|
||||
cargo hack --feature-powerset clippy --tests -- -D warnings
|
||||
cargo hack --feature-powerset clippy -- -D warnings
|
||||
cargo hack --feature-powerset clippy --tests -- -D warnings
|
||||
|
||||
test:
|
||||
cargo hack --feature-powerset test
|
||||
cargo +1.85 hack --feature-powerset test
|
||||
cargo +nightly hack --feature-powerset miri test
|
||||
cargo hack --feature-powerset test
|
||||
cargo +1.85 hack --feature-powerset test
|
||||
cargo +nightly hack --feature-powerset miri test
|
||||
|
||||
example:
|
||||
# cargo run --example=<example> --features=<req_features>
|
||||
# cargo run --example=<example> --features=<req_features>
|
||||
|
||||
doc *args:
|
||||
RUSTDOCFLAGS="--cfg docsrs -D warnings" cargo +nightly doc --all-features {{ args }}
|
||||
RUSTDOCFLAGS="--cfg docsrs -D warnings" cargo +nightly doc \
|
||||
--workspace --all-features --document-private-items \
|
||||
--lib --bins --no-deps --locked \
|
||||
{{ args }}
|
||||
|
||||
format:
|
||||
cargo fmt --check
|
||||
cargo fmt --check
|
||||
|
||||
install:
|
||||
cargo install --path crates/lint-policy-cli
|
||||
cargo install --path crates/lint-policy-cli
|
||||
|
||||
Reference in New Issue
Block a user