aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-11-29 00:38:02 -0300
committerEuAndreh <eu@euandre.org>2020-11-29 00:38:02 -0300
commit0faaf1e010cc3e5af10e35a1bb93d912a206815f (patch)
tree2b56fcaeaa6c2c9c108b7a1d55456a7ae1892a26
parentTODOs.org: Ressurect decision on public SSH key leakage and add anchors (diff)
downloadserver-0faaf1e010cc3e5af10e35a1bb93d912a206815f.tar.gz
server-0faaf1e010cc3e5af10e35a1bb93d912a206815f.tar.xz
Move tests.sh to Makefile
-rw-r--r--Makefile8
-rwxr-xr-xtests.sh10
2 files changed, 8 insertions, 10 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..aadd118
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+.PHONY: check
+check:
+ bash ./scripts/assert-shellcheck.sh
+ bash ./scripts/assert-todos.sh
+
+ bash scripts/assert-terraform.sh
+
+.PHONY: site publish
diff --git a/tests.sh b/tests.sh
deleted file mode 100755
index 08ce6b0..0000000
--- a/tests.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/usr/bin/env bash
-set -Eeuo pipefail
-cd "$(dirname "${BASH_SOURCE[0]}")"
-
-set -x
-
-./scripts/assert-shellcheck.sh
-./scripts/assert-todos.sh
-
-./scripts/assert-terraform.sh