Skip to content
Snippets Groups Projects
Forked from Haskell / ghcup-hs
776 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
hlint.sh 303 B
#!/bin/sh

set -eux

. "$( cd "$(dirname "$0")" ; pwd -P )/../ghcup_env"

mkdir -p "$CI_PROJECT_DIR"/.local/bin

ecabal() {
	cabal --store-dir="$(pwd)"/.store "$@"
}

git describe

ecabal update
ecabal install -w ghc-${GHC_VERSION} --installdir="$CI_PROJECT_DIR"/.local/bin hlint

hlint -r lib/ test/