@@ -1,6 +1,7 @@
11name: mandrill
22version: 0.1.0.0
33synopsis: Library for interfacing with the Mandrill JSON API
4+description: Pure Haskell client for the Mandrill JSON API
45license: MIT
56license-file: LICENSE
67author: Alfredo Di Napoli
@@ -9,6 +10,10 @@ category: Network
910build-type: Simple
1011cabal-version: >=1.10
1112
13+source-repository head
14+ type: git
15+ location: https://github.com/adinapoli/mandrill
16+
1217library
1318 exposed-modules:
1419 Network.API.Mandrill.Settings
@@ -18,7 +23,7 @@ library
1823 Network.API.Mandrill.HTTP
1924 other-modules:
2025 Network.API.Mandrill.Utils
21− -- other-extensions:
26+ -- other-extensions:
2227 build-depends:
2328 base >=4.6 && < 5
2429 , text >= 1.0.0.0 && < 1.2
@@ -30,4 +35,23 @@ library
3035 hs-source-dirs:
3136 src
3237 default-language:
33− Haskell2010
38+ Haskell2010
39+
40+test-suite mandrill-tests
41+ type:
42+ exitcode-stdio-1.0
43+ main-is:
44+ Main.hs
45+ other-modules:
46+ Tests
47+ hs-source-dirs:
48+ test
49+ default-language:
50+ Haskell2010
51+ build-depends:
52+ mandrill -any
53+ , base
54+ , QuickCheck >= 2.6 && < 2.8
55+ , tasty >= 0.7 && < 0.9
56+ , tasty-quickcheck
57+ , tasty-hunit