summaryrefslogtreecommitdiff
path: root/Haskell-book/15/optional.cabal
blob: 1251d949c6e088b1e3de2af5ff7bf910c1d7ac56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name:           optional
version:        0.1.0.0
author:         Eugen Wissner
maintainer:     belka@caraus.de
copyright:      2018 Eugen Wissner
license:        BSD3
build-type:     Simple
cabal-version:  >= 1.10

library
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
  exposed-modules:
      Optional
  other-modules:
      Paths_optional
  default-language: Haskell2010

test-suite optional-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , hspec
    , optional
  other-modules:
      Paths_optional
  default-language: Haskell2010

test-suite first-test
  type: exitcode-stdio-1.0
  main-is: First.hs
  hs-source-dirs:
      app
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , QuickCheck
    , optional
  default-language: Haskell2010