Files
NixOS-WSL/checks/dotnet-format.nix
T
2024-01-11 18:17:35 +01:00

9 lines
222 B
Nix

{ runCommand
, dotnet-sdk
, ...
}:
runCommand "check-dotnet-format" { nativeBuildInputs = [ dotnet-sdk ]; } ''
cd "${./../Launcher}"
dotnet format --verbosity detailed --no-restore --verify-no-changes && touch $out
''