Use DOTNET_STARTUP_HOOK to have the target run the tests (#91)

This commit is contained in:
Patrick Stevens
2024-06-23 17:25:24 +01:00
committed by GitHub
parent 85cd116d52
commit fb945c04ac
17 changed files with 366 additions and 64 deletions

View File

@@ -56,13 +56,20 @@
doCheck = true;
};
};
devShell = pkgs.mkShell {
packages = [
(pkgs.dotnetCorePackages.combinePackages [dotnet-sdk pkgs.dotnetCorePackages.runtime_6_0])
pkgs.alejandra
pkgs.nodePackages.markdown-link-check
pkgs.shellcheck
];
devShells = {
default = pkgs.mkShell {
packages = [
dotnet-sdk
pkgs.alejandra
pkgs.nodePackages.markdown-link-check
pkgs.shellcheck
];
};
net6 = pkgs.mkShell {
packages = [
pkgs.dotnetCorePackages.runtime_6_0
];
};
};
});
}