diff options
| author | Eugen Wissner <belka@caraus.de> | 2023-03-23 09:46:04 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2023-03-23 09:46:04 +0100 |
| commit | 408dfb4301bfa1009baa6d68b33c699b18527b0a (patch) | |
| tree | 00652006d9e66f705aee2a104671ddd6c6f49674 /test.sh | |
| parent | 3b69dac371651d303b7634c8b3d54b3221320f0d (diff) | |
| download | graphql-408dfb4301bfa1009baa6d68b33c699b18527b0a.tar.gz | |
Update web links
Diffstat (limited to 'test.sh')
| -rw-r--r-- | test.sh | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |
