From efb4ce65962f555ee76533c1089b2c9ebdf4edb5 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Sun, 14 Jan 2018 17:14:12 +0100 Subject: Refactor 'compileHelper' to cache helper in all cases --- scripts/ci/steps/30-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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" -- cgit v1.2.3