diff options
author | EuAndreh <eu@euandre.org> | 2021-01-23 20:17:05 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-23 20:17:05 -0300 |
commit | 5f70a8be3401b36f108f60e81eaa241e3c1bde46 (patch) | |
tree | 95c5f86a75c8e585ca01362525a03e3a4a4a7ed5 | |
parent | mv scripts/* build-aux/ (diff) | |
download | euandre.org-5f70a8be3401b36f108f60e81eaa241e3c1bde46.tar.gz euandre.org-5f70a8be3401b36f108f60e81eaa241e3c1bde46.tar.xz |
Move tests.sh into Makefile
Diffstat (limited to '')
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | default.nix | 2 | ||||
-rwxr-xr-x | tests.sh | 7 |
3 files changed, 5 insertions, 9 deletions
@@ -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 |