aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/ci/steps/30-build.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/ci/steps/30-build.sh b/scripts/ci/steps/30-build.sh
index 1dbaad7..8e71aa3 100644
--- a/scripts/ci/steps/30-build.sh
+++ b/scripts/ci/steps/30-build.sh
@@ -1,3 +1,4 @@
-cabal --sandbox-config="$sandbox_config" configure --builddir="$build_dir" --enable-tests
+# -fdev enables building the helper "main" exe directly and enables more warnings
+cabal --sandbox-config="$sandbox_config" configure --builddir="$build_dir" --enable-tests -fdev
cabal --sandbox-config="$sandbox_config" build --builddir="$build_dir"
cabal --sandbox-config="$sandbox_config" haddock --builddir="$build_dir"