Skip to content

Commit

Permalink
Enable post-build tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vojta001 committed Apr 25, 2021
1 parent 3df6c47 commit 531687b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}" ];
});
Expand Down

0 comments on commit 531687b

Please sign in to comment.