You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# this builds all libraries and executables (without tests/benchmarks)
91
+
- cabal new-build -w ${HC} --disable-tests --disable-benchmarks all
92
+
93
+
# Build with installed constraints for packages in global-db
94
+
- if $INSTALLED; then echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks $(${HCPKG} list --global --simple-output --names-only | sed 's/\([a-zA-Z0-9-]\{1,\}\) */--constraint="\1 installed" /g') all | sh; else echo "Not building with installed constraints"; fi
86
95
87
-
# Build with installed constraints for packages in global-db
88
-
- if $INSTALLED; then
89
-
echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks $(${HCPKG} list --global --simple-output --names-only | sed 's/\([a-zA-Z0-9-]\{1,\}\) */--constraint="\1 installed" /g') all | sh;
90
-
else echo "Not building with installed constraints"; fi
96
+
# build & run tests, build benchmarks
97
+
- cabal new-build -w ${HC} ${TEST} ${BENCH} all
91
98
92
-
# build & run tests, build benchmarks
93
-
- cabal new-build -w ${HC} ${TEST} ${BENCH} all
99
+
# cabal check
100
+
- (cd ekg-core-* && cabal check)
94
101
95
-
# haddock
96
-
- rm -rf ./dist-newstyle
97
-
- if $HADDOCK; then cabal new-haddock -w ${HC} --disable-tests --disable-benchmarks all; else echo "Skipping haddock generation";fi
102
+
# haddock
103
+
- rm -rf ./dist-newstyle
104
+
- if $HADDOCK; then cabal new-haddock -w ${HC} ${TEST} ${BENCH} all; else echo "Skipping haddock generation";fi
0 commit comments