Enable post-build tests

This commit is contained in:
Vojtěch Káně
2021-04-25 13:46:22 +02:00
parent 3df6c47464
commit 531687bac3

View File

@@ -13,6 +13,8 @@
src = ./.;
goDeps = ./deps.nix;
preBuild = "go generate vkane.cz/tinyquiz/...";
checkPhase = "go test -race vkane.cz/tinyquiz/...";
doCheck = true;
goPackagePath = "vkane.cz/tinyquiz";
subPackages = [ "cmd/${name}" ];
});