Skip to content

Commit

Permalink
Add custom-setup stanza and containers lowerbound
Browse files Browse the repository at this point in the history
custom-setup:

- http://cabal.readthedocs.io/en/latest/developing-packages.html#custom-setup-scripts
- https://www.well-typed.com/blog/2015/07/cabal-setup-deps/

Bounds:
- containers-0.5 is required if Data.Map.Strict
- parsec-3.0 for Text.Parsec
- json-0.3.6 for makeObj
  • Loading branch information
phadej committed Mar 8, 2018
1 parent a98d69f commit b33607b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions ShellCheck.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,20 @@ Extra-Source-Files:
-- tests
test/shellcheck.hs

custom-setup
setup-depends:
base >= 4 && <5,
process >= 1.0 && <1.7,
Cabal >= 1.10 && <2.3

source-repository head
type: git
location: git://github.com/koalaman/shellcheck.git

library
build-depends:
base >= 4 && < 5,
containers,
containers >= 0.5,
directory,
json,
mtl >= 2.2.1,
Expand Down Expand Up @@ -73,9 +79,9 @@ executable shellcheck
base >= 4 && < 5,
containers,
directory,
json,
json >= 0.3.6,
mtl >= 2.2.1,
parsec,
parsec >= 3.0,
regex-tdfa,
QuickCheck >= 2.7.4
main-is: shellcheck.hs
Expand Down

0 comments on commit b33607b

Please sign in to comment.