catch clippy lints for --no-default-features builds
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
ef2d307c15
commit
c7c9f0e4a6
1 changed files with 31 additions and 19 deletions
50
engage.toml
50
engage.toml
|
@ -101,7 +101,6 @@ direnv exec . \
|
||||||
cargo clippy \
|
cargo clippy \
|
||||||
--workspace \
|
--workspace \
|
||||||
--profile test \
|
--profile test \
|
||||||
--all-targets \
|
|
||||||
--color=always \
|
--color=always \
|
||||||
-- \
|
-- \
|
||||||
-D warnings
|
-D warnings
|
||||||
|
@ -116,13 +115,27 @@ env DIRENV_DEVSHELL=all-features \
|
||||||
cargo clippy \
|
cargo clippy \
|
||||||
--workspace \
|
--workspace \
|
||||||
--profile test \
|
--profile test \
|
||||||
--all-targets \
|
|
||||||
--all-features \
|
--all-features \
|
||||||
--color=always \
|
--color=always \
|
||||||
-- \
|
-- \
|
||||||
-D warnings
|
-D warnings
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
[[task]]
|
||||||
|
name = "clippy/no-features"
|
||||||
|
group = "lints"
|
||||||
|
script = """
|
||||||
|
env DIRENV_DEVSHELL=no-features \
|
||||||
|
direnv exec . \
|
||||||
|
cargo clippy \
|
||||||
|
--workspace \
|
||||||
|
--profile test \
|
||||||
|
--no-default-features \
|
||||||
|
--color=always \
|
||||||
|
-- \
|
||||||
|
-D warnings
|
||||||
|
"""
|
||||||
|
|
||||||
[[task]]
|
[[task]]
|
||||||
name = "clippy/jemalloc"
|
name = "clippy/jemalloc"
|
||||||
group = "lints"
|
group = "lints"
|
||||||
|
@ -131,26 +144,12 @@ direnv exec . \
|
||||||
cargo clippy \
|
cargo clippy \
|
||||||
--workspace \
|
--workspace \
|
||||||
--profile test \
|
--profile test \
|
||||||
--features jemalloc \
|
--features=jemalloc \
|
||||||
--all-targets \
|
|
||||||
--color=always \
|
--color=always \
|
||||||
-- \
|
-- \
|
||||||
-D warnings
|
-D warnings
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#[[task]]
|
|
||||||
#name = "clippy/hardened_malloc"
|
|
||||||
#group = "lints"
|
|
||||||
#script = """
|
|
||||||
#cargo clippy \
|
|
||||||
# --workspace \
|
|
||||||
# --features hardened_malloc \
|
|
||||||
# --all-targets \
|
|
||||||
# --color=always \
|
|
||||||
# -- \
|
|
||||||
# -D warnings
|
|
||||||
#"""
|
|
||||||
|
|
||||||
[[task]]
|
[[task]]
|
||||||
name = "lychee"
|
name = "lychee"
|
||||||
group = "lints"
|
group = "lints"
|
||||||
|
@ -170,7 +169,6 @@ env DIRENV_DEVSHELL=all-features \
|
||||||
cargo test \
|
cargo test \
|
||||||
--workspace \
|
--workspace \
|
||||||
--profile test \
|
--profile test \
|
||||||
--all-targets \
|
|
||||||
--all-features \
|
--all-features \
|
||||||
--color=always \
|
--color=always \
|
||||||
-- \
|
-- \
|
||||||
|
@ -186,7 +184,21 @@ env DIRENV_DEVSHELL=default \
|
||||||
cargo test \
|
cargo test \
|
||||||
--workspace \
|
--workspace \
|
||||||
--profile test \
|
--profile test \
|
||||||
--all-targets \
|
--color=always \
|
||||||
|
-- \
|
||||||
|
--color=always
|
||||||
|
"""
|
||||||
|
|
||||||
|
[[task]]
|
||||||
|
name = "cargo/no-features"
|
||||||
|
group = "tests"
|
||||||
|
script = """
|
||||||
|
env DIRENV_DEVSHELL=no-features \
|
||||||
|
direnv exec . \
|
||||||
|
cargo test \
|
||||||
|
--workspace \
|
||||||
|
--profile test \
|
||||||
|
--no-default-features \
|
||||||
--color=always \
|
--color=always \
|
||||||
-- \
|
-- \
|
||||||
--color=always
|
--color=always
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue