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:
207207 echo "packages: ${PKGDIR_tree_diff}" >> cabal.project
208208 echo "package tree-diff" >> cabal.project
209209 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
210212 cat >> cabal.project <<EOF
211213 EOF
212214 $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
22tests: >=7.6
33haddock: >=7.8
44docspec: >=8
5- error-unused-packages: False
65
76-- We would like to have this. But it just doesn't work with GHCJS
87-- constraint-set bytestring-0.11
Original file line number Diff line number Diff line change @@ -134,13 +134,11 @@ test-suite tree-diff-test
134134
135135 -- dependencies from library
136136 build-depends :
137- , ansi-terminal
138137 , ansi-wl-pprint
139138 , base
140139 , parsec
141140 , primitive
142141 , QuickCheck
143- , tagged
144142 , tree-diff
145143 , unordered-containers
146144
You can’t perform that action at this time.
0 commit comments