summaryrefslogtreecommitdiff
path: root/semaphoreci.sh
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2019-07-20 06:57:13 +0200
committerEugen Wissner <belka@caraus.de>2019-07-20 07:11:10 +0200
commit9d15b831648ff7a7acb1327efbce3b22181b6157 (patch)
treea953a5c48d88108739b7ad3d87d76af5f52062e9 /semaphoreci.sh
parent5cf10b38ec95d60922caf6cf0c9a6fd1cb0e54e4 (diff)
downloadgraphql-9d15b831648ff7a7acb1327efbce3b22181b6157.tar.gz
Make the tutorial to compile again
- Remove generated documentation leaving only documentation sources. - Add CI job checking that the tutorial is up to date.
Diffstat (limited to 'semaphoreci.sh')
-rwxr-xr-xsemaphoreci.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/semaphoreci.sh b/semaphoreci.sh
index 09f7aa7..f77ac75 100755
--- a/semaphoreci.sh
+++ b/semaphoreci.sh
@@ -18,6 +18,10 @@ test() {
$STACK --no-terminal test --pedantic
}
+test_docs() {
+ $STACK --no-terminal ghc -- -Wall -fno-code docs/tutorial/tutorial.lhs
+}
+
setup_lint() {
$STACK --no-terminal install hlint
}