Skip to content

Commit

Permalink
Hide dev files, modify 32-bit config not to blow up on QuickCheck (#431)
Browse files Browse the repository at this point in the history
* Hide dev files, modify 32-bit config not to blow up on QuickCheck

* Explain extra constraint in Drone config
  • Loading branch information
kozross authored Oct 27, 2021
1 parent 7ef75e7 commit 11af63e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ steps:
- cabal update
# We need to break dependency circuit between optparse-applicative,
# process, unix and bytestring. Newer versions of Cabal are capable
# to come up with optparse-applicative -process automatically, but
# older ones need a hint.
- cabal install --dependencies-only --enable-tests --constraint 'optparse-applicative -process'
# of coming up with these automatically, but older ones need a hint.
# Specifically, we need to inform Cabal that:
#
# * optparse-applicative doesn't use process; and
# * QuickCheck uses the old random package.
- cabal install --dependencies-only --enable-tests --constraint 'optparse-applicative -process' --constraint 'QuickCheck +old-random'
- cabal test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ cabal.sandbox.config
.hsenv
*~
dist-newstyle/
cabal.project.local*
.nvimrc

0 comments on commit 11af63e

Please sign in to comment.