mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
dotnet: add self-contained test
This commit is contained in:
parent
767d892193
commit
7150d7e203
@ -98,6 +98,15 @@
|
||||
run = checkConsoleOutput "$src/test";
|
||||
};
|
||||
|
||||
self-contained = mkDotnetTest {
|
||||
name = "self-contained";
|
||||
template = "console";
|
||||
usePackageSource = true;
|
||||
build = "dotnet publish --use-current-runtime --sc -o $out";
|
||||
runtime = null;
|
||||
run = checkConsoleOutput "$src/test";
|
||||
};
|
||||
|
||||
single-file = mkDotnetTest {
|
||||
name = "single-file";
|
||||
template = "console";
|
||||
|
Loading…
Reference in New Issue
Block a user