aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile5
-rw-r--r--default.nix2
-rwxr-xr-xtests.sh7
3 files changed, 5 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 338bfee..e1f7ca8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
.PHONY: check
check:
- sh tests.sh
+ sh build-aux/assert-spelling.sh
+ sh build-aux/assert-shellcheck.sh
+ sh build-aux/assert-todos.sh
+ sh build-aux/sync-translations.sh
.PHONY: clean
clean:
diff --git a/default.nix b/default.nix
index 6a82621..2655a59 100644
--- a/default.nix
+++ b/default.nix
@@ -59,7 +59,7 @@ in rec {
'';
test = drv "test" ''
export JEKYLL_ENV=production
- ./tests.sh
+ make check
touch $out
'';
shell = pkgs.mkShell {
diff --git a/tests.sh b/tests.sh
deleted file mode 100755
index 298fef9..0000000
--- a/tests.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-set -eux
-
-sh build-aux/assert-spelling.sh
-sh build-aux/assert-shellcheck.sh
-sh build-aux/assert-todos.sh
-sh build-aux/sync-translations.sh