aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ef3ecb6..35aa2e3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,9 @@
-test: test-elm test-nix
+test: test-sh test-elm test-nix
+
+test-sh: tests/sh.sh
+ src/extract-sh.sh tests/sh.sh | \
+ jq .text -r | \
+ cmp tests/expect
test-elm: tests/elm.elm
src/extract-elm.sh tests/elm.elm | \