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
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- fgl | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
111
+
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- fgl | grep -vw -- fgl-arbitrary | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- fgl | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
136
+
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- fgl | grep -vw -- fgl-arbitrary | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
135
137
- cat cabal.project || true
136
138
- cat cabal.project.local || true
137
139
# this builds all libraries and executables (without tests/benchmarks)
@@ -143,36 +145,13 @@ script:
143
145
144
146
# cabal check
145
147
- (cd fgl-* && cabal check)
148
+
- (cd fgl-arbitrary-* && cabal check)
146
149
147
150
# haddock
148
151
- if $HADDOCK; then cabal new-haddock -w ${HC} ${TEST} ${BENCH} all; else echo "Skipping haddock generation";fi
149
152
150
153
# Build without installed constraints for packages in global-db
151
154
- if $UNCONSTRAINED; then rm -f cabal.project.local; echo cabal new-build -w ${HC} --disable-tests --disable-benchmarks all; else echo "Not building without installed constraints"; fi
152
155
153
-
- popd
154
-
155
-
# Check the fgl-arbitrary sub-package
156
-
- cd fgl-arbitrary
157
-
# Relying upon fgl being installed above when testing sdist, and that
158
-
# it doesn't require any other dependencies not used by fgl.
- "if ! $NOINSTALLEDCONSTRAINTS; then for pkg in $($HCPKG list --simple-output); do echo $pkg | grep -vw -- fgl | sed 's/^/constraints: /' | sed 's/-[^-]*$/ installed/' >> cabal.project.local; done; fi"
168
-
- cat cabal.project || true
169
-
- cat cabal.project.local || true
170
-
# this builds all libraries and executables (without tests/benchmarks)
171
-
- cabal new-build -w ${HC} --disable-tests --disable-benchmarks all
172
-
173
-
# build & run tests, build benchmarks
174
-
- cabal new-build -w ${HC} ${TEST} ${BENCH} all
175
-
- if [ "x$TEST" = "x--enable-tests" ]; then cabal new-test -w ${HC} ${TEST} ${BENCH} all; fi
0 commit comments