summaryrefslogtreecommitdiff
path: root/srv
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-08 16:36:28 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-08 16:36:28 -0600
commita759fc28f715f4c7523a830314e3ccf09e2f0d70 (patch)
tree7138b26009f4a4dd1ba0ae7d4af1962ee70992fa /srv
parentddb126db1709b1c7679b8370b508639991387bf0 (diff)
Add test target to Makefile to run full integration tests
Diffstat (limited to 'srv')
-rw-r--r--srv/default.nix8
1 files changed, 8 insertions, 0 deletions
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}
+ '';
+ };
}