mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
build(nix): add cargo clippy check
note that this only checks the top-level package, `bch_bindgen` is excluded because it has too many clippy lints.
This commit is contained in:
parent
bf2c0c8852
commit
422ae1f1a7
@ -131,6 +131,14 @@
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
checks.cargo-clippy = craneLib.cargoClippy (
|
||||||
|
commonArgs
|
||||||
|
// {
|
||||||
|
inherit cargoArtifacts;
|
||||||
|
cargoClippyExtraArgs = "--all-targets -- --deny warnings";
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
inputsFrom = [
|
inputsFrom = [
|
||||||
config.packages.default
|
config.packages.default
|
||||||
|
Loading…
Reference in New Issue
Block a user