#!/usr/bin/env bash set -euo pipefail cd "$(dirname "${BASH_SOURCE[0]}")/.." echo "Formatting with fourmolu..." ./hs fourmolu --mode inplace app/ src/ test/ echo "Linting with hlint..." ./hs hlint app/ src/ test/ || true # hlint issues to fix later echo "Building..." ./hs stack build --copy-bins --local-bin-path /work/build