From 5f70a8be3401b36f108f60e81eaa241e3c1bde46 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 23 Jan 2021 20:17:05 -0300 Subject: Move tests.sh into Makefile --- Makefile | 5 ++++- default.nix | 2 +- tests.sh | 7 ------- 3 files changed, 5 insertions(+), 9 deletions(-) delete mode 100755 tests.sh 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 -- cgit v1.2.3