- Extracted checks (clippy, doc, fmt, and toml-fmt) into modularized Nix files under `nix/checks`. - Updated `flake.nix` to import checks from the new modularized structure. - Improved clarity and maintainability by separating concerns for each check.
12 lines
221 B
Nix
12 lines
221 B
Nix
{
|
|
craneLib,
|
|
src,
|
|
lib,
|
|
}:
|
|
|
|
craneLib.taploFmt {
|
|
src = lib.sources.sourceFilesBySuffices src [ ".toml" ];
|
|
# taplo arguments can be further customized below as needed
|
|
# taploExtraArgs = "--config ./taplo.toml";
|
|
}
|