File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,8 @@ jobs:
207
207
echo "packages: ${PKGDIR_tree_diff}" >> cabal.project
208
208
echo "package tree-diff" >> cabal.project
209
209
echo " ghc-options: -Werror=missing-methods -Werror=missing-fields" >> cabal.project
210
+ if [ $((HCNUMVER >= 90400)) -ne 0 ] ; then echo "package tree-diff" >> cabal.project ; fi
211
+ if [ $((HCNUMVER >= 90400)) -ne 0 ] ; then echo " ghc-options: -Werror=unused-packages" >> cabal.project ; fi
210
212
cat >> cabal.project <<EOF
211
213
EOF
212
214
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(tree-diff)$/; }' >> cabal.project.local
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ branches: master
2
2
tests: >=7.6
3
3
haddock: >=7.8
4
4
docspec: >=8
5
- error-unused-packages: False
6
5
7
6
-- We would like to have this. But it just doesn't work with GHCJS
8
7
-- constraint-set bytestring-0.11
Original file line number Diff line number Diff line change @@ -134,13 +134,11 @@ test-suite tree-diff-test
134
134
135
135
-- dependencies from library
136
136
build-depends :
137
- , ansi-terminal
138
137
, ansi-wl-pprint
139
138
, base
140
139
, parsec
141
140
, primitive
142
141
, QuickCheck
143
- , tagged
144
142
, tree-diff
145
143
, unordered-containers
146
144
You can’t perform that action at this time.
0 commit comments