#!/usr/bin/env bash set -euo pipefail cd "$(dirname "${BASH_SOURCE[0]}")/.." echo "Checking formatting with fourmolu..." ./hs fourmolu --mode check app/ src/ test/ echo "Linting with hlint..." ./hs hlint app/ src/ test/ echo "Running tests..." ./hs stack test