diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2022-05-08 16:36:28 -0600 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2022-05-08 16:36:28 -0600 |
commit | a759fc28f715f4c7523a830314e3ccf09e2f0d70 (patch) | |
tree | 7138b26009f4a4dd1ba0ae7d4af1962ee70992fa /srv | |
parent | ddb126db1709b1c7679b8370b508639991387bf0 (diff) |
Add test target to Makefile to run full integration tests
Diffstat (limited to 'srv')
-rw-r--r-- | srv/default.nix | 8 |
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} + ''; + }; } |