From 408dfb4301bfa1009baa6d68b33c699b18527b0a Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 23 Mar 2023 09:46:04 +0100 Subject: Update web links --- test.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test.sh (limited to 'test.sh') diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..7669a86 --- /dev/null +++ b/test.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# setup +cabal update + +# doc +cabal haddock --enable-documentation --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc + +# lint +cabal install hlint --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc --overwrite-policy=always "--constraint=hlint ==3.5" +cabal exec hlint -- src tests + +# test +cabal build graphql-test --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc +cabal test --test-show-details=direct --with-compiler=/srv/httpd/server/ghcup/9.2/bin/ghc -- cgit v1.2.3