aboutsummaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index 6c8a56c..14398f9 100644
--- a/default.nix
+++ b/default.nix
@@ -41,10 +41,12 @@ in with pkgs; with pkgs.stdenv; rec {
name = "website-test";
src = ./.;
phases = "unpackPhase buildPhase";
- buildInputs = [perl];
+ buildInputs = [perl bats];
buildPhase = ''
mkdir txt
podchecker website pastebin/website-pastebin slides/website-slides 2>&1 | tee txt/podchecker.txt
+ patchShebangs .
+ ./t/website.bats
mv txt/ $out/
'';
};