aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-09-06 11:03:36 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-09-06 11:38:38 +0200
commit62df7214a1b6602bec3e355a0729de2968db6504 (patch)
tree0bd9e4eb965e40a3c9582371b0b45f9671b0320a /Makefile
parentea5ff5547b365964ff2c0215caa3a2a020b6d7ed (diff)
add support for .sh files
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 | \