From a759fc28f715f4c7523a830314e3ccf09e2f0d70 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sun, 8 May 2022 16:36:28 -0600 Subject: Add test target to Makefile to run full integration tests --- srv/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'srv/default.nix') diff --git a/srv/default.nix b/srv/default.nix index 5510744..df54d84 100644 --- a/srv/default.nix +++ b/srv/default.nix @@ -63,4 +63,12 @@ cd src ''; }; + + test = stdenv.mkDerivation { + name = "mediocre-blog-srv-test"; + buildInputs = [ go ]; + shellHook = '' + source ${init} + ''; + }; } -- cgit v1.2.3