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
{{ message }}
This repository was archived by the owner on Feb 27, 2024. It is now read-only.
- Update ghc-8.6.x o version 8.6.3 and ghc-8.4.x to version 8.4.4
- We don't use installed constraints, so we don't need a separate build step
that builds without them.
- Use latest make-travis-yml generator and drop the container-based build
environment. Closes#10.
- Enable install-examples flag to make sure the examples get built.
- Fix failing doctests with cabal-install 2.4.1.x.
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- hackage-db | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
83
+
- cat cabal.project || true
84
+
- cat cabal.project.local || true
94
85
- if [ -f "./configure.ac" ]; then
95
86
(cd "." && autoreconf -i);
96
87
fi
@@ -104,31 +95,34 @@ install:
104
95
# any command which exits with a non-zero exit code causes the build to fail.
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- hackage-db | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
107
+
- cat cabal.project || true
108
+
- cat cabal.project.local || true
113
109
# this builds all libraries and executables (without tests/benchmarks)
114
110
- cabal new-build -w ${HC} --disable-tests --disable-benchmarks all
115
111
116
-
117
112
# build & run tests, build benchmarks
118
113
- cabal new-build -w ${HC} ${TEST} ${BENCH} all
119
114
120
115
# doctest
121
116
- if [ $HCNUMVER -ge 80000 ]; then (cd hackage-db-* && doctest src); fi
122
117
123
118
# hlint
124
-
- if [ $HCNUMVER -eq 80202 ]; then (cd hackage-db-* && hlint src); fi
119
+
- if [ $HCNUMVER -eq 80603 ]; then (cd hackage-db-* && hlint src); fi
125
120
126
121
# cabal check
127
122
- (cd hackage-db-* && cabal check)
128
123
129
124
# haddock
130
-
- rm -rf ./dist-newstyle
131
125
- if $HADDOCK; then cabal new-haddock -w ${HC} ${TEST} ${BENCH} all; else echo "Skipping haddock generation";fi
0 commit comments