-
Notifications
You must be signed in to change notification settings - Fork 0
/
credit-card.cabal
61 lines (57 loc) · 1.74 KB
/
credit-card.cabal
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
cabal-version: 2.4
name: credit-card
version: 0.1.0.0
synopsis: Credit card validation
license-file: LICENSE
build-type: Simple
Flag store
Description: Enable Data.Store serialization support
Default: False
Manual: False
Flag postgres
Description: Enable Postgresql support
Default: True
Manual: False
library
hs-source-dirs: src
ghc-options: -Wall
exposed-modules: Data.CreditCard
build-depends: base
, QuickCheck
, aeson
, aeson-inflections >= 0.1
, binary
, digit
, formatting
, lens
, openapi3
, text
, time
if !impl(ghcjs) && flag(postgres)
build-depends: postgresql-simple
cpp-options: -DUSE_POSTGRES
if flag(store)
build-depends:
store
cpp-options: -DUSE_STORE
default-extensions: DeriveAnyClass
default-language: Haskell2010
default-extensions: GeneralizedNewtypeDeriving
, DeriveGeneric
, ScopedTypeVariables
, TypeApplications
, ViewPatterns
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: spec
main-is: Spec.hs
default-language: Haskell2010
build-depends: base
, aeson
, credit-card
, hspec
, text
build-tool-depends: hspec-discover:hspec-discover
other-modules: CreditCardSpec
default-extensions: ScopedTypeVariables
, OverloadedStrings