Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ jobs:
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods -Werror=missing-fields" >> cabal.project ; fi
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo "package happy" >> cabal.project ; fi
if [ $((HCNUMVER >= 80200)) -ne 0 ] ; then echo " ghc-options: -Werror=missing-methods -Werror=missing-fields" >> cabal.project ; fi
if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo "package happy-lib" >> cabal.project ; fi
if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo " ghc-options: -Werror=unused-packages" >> cabal.project ; fi
if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo "package happy" >> cabal.project ; fi
if [ $((HCNUMVER >= 90000)) -ne 0 ] ; then echo " ghc-options: -Werror=unused-packages" >> cabal.project ; fi
cat >> cabal.project <<EOF
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(happy|happy-lib|mtl|transformers)$/; }' >> cabal.project.local
Expand Down
2 changes: 1 addition & 1 deletion cabal.haskell-ci
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
branches: master
error-incomplete-patterns: False
error-unused-packages: False
error-unused-packages: >=9

-- Specify 'constraint: ... installed' packages
installed: +all -transformers -mtl
Expand Down
11 changes: 5 additions & 6 deletions happy.cabal
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cabal-version: 1.18
name: happy
version: 2.1.7
license: BSD2
Expand All @@ -10,7 +11,6 @@ stability: stable
homepage: https://www.haskell.org/happy/
synopsis: Happy is a parser generator for Haskell
category: Development
cabal-version: >= 1.10
build-type: Simple

Description:
Expand All @@ -34,10 +34,12 @@ tested-with:
GHC == 8.2.2
GHC == 8.0.2

extra-source-files:
extra-doc-files:
ChangeLog.md
Makefile
README.md

extra-source-files:
Makefile
examples/glr/nlp/Main.lhs
examples/glr/nlp/Makefile
examples/glr/nlp/README
Expand Down Expand Up @@ -139,9 +141,6 @@ executable happy
main-is: Main.lhs

build-depends: base >= 4.9 && < 5,
array,
containers >= 0.4.2,
mtl >= 2.2.1,
happy-lib == 2.1.7

default-language: Haskell98
Expand Down