clippy pedantic clean + wired into flake checks
This commit is contained in:
parent
f12837fe32
commit
fef2dee92a
12 changed files with 55 additions and 25 deletions
11
flake.nix
11
flake.nix
|
|
@ -124,9 +124,18 @@
|
|||
formatter = forAllSystems ({ treefmt-eval, ... }: treefmt-eval.config.build.wrapper);
|
||||
|
||||
checks = forAllSystems (
|
||||
{ treefmt-eval, ... }:
|
||||
{
|
||||
treefmt-eval,
|
||||
naersk-lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
formatting = treefmt-eval.config.build.check self;
|
||||
clippy = naersk-lib.buildPackage {
|
||||
src = ./.;
|
||||
mode = "clippy";
|
||||
cargoClippyOptions = orig: orig ++ [ "--all-targets" "--" "-D" "warnings" ];
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue