summaryrefslogtreecommitdiff
path: root/state-codes.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'state-codes.cabal')
-rw-r--r--state-codes.cabal60
1 files changed, 60 insertions, 0 deletions
diff --git a/state-codes.cabal b/state-codes.cabal
new file mode 100644
index 0000000..2c843db
--- /dev/null
+++ b/state-codes.cabal
@@ -0,0 +1,60 @@
+name: state-codes
+version: 0.1.0
+synopsis: ISO 3166-2:US state codes and i18n names
+description: This package provides the ISO 3166-2:US state codes and i18n names
+homepage: https://github.com/acamino/state-codes#README
+license: MIT
+license-file: LICENSE
+author: Agustin Camino
+maintainer: agustin.camino@gmail.com
+copyright: 2017 Agustin Camino
+category: Data
+build-type: Simple
+cabal-version: >=1.10
+extra-source-files: README.md
+
+
+flag dev
+ description: Turn on development settings
+ manual: True
+ default: False
+
+
+source-repository head
+ type: git
+ location: https://github.com/acamino/state-codes.git
+
+
+library
+ hs-source-dirs: src
+ build-depends:
+ base >= 4.7 && < 5
+ , text
+ , aeson
+ , shakespeare
+ if flag(dev)
+ ghc-options: -Wall -Werror
+ else
+ ghc-options: -O2 -Wall
+ other-modules: Data.StateCodes.ISO31662US
+ exposed-modules: Data.StateCodes
+ default-language: Haskell2010
+
+test-suite state-codes-test
+ main-is: Spec.hs
+ type: exitcode-stdio-1.0
+ hs-source-dirs: test
+ other-modules: Data.StateCodesSpec
+
+ build-depends: base >= 4.7 && < 5.0
+ , aeson
+ , hspec
+ , QuickCheck
+ , state-codes
+ , text
+
+ if flag(dev)
+ ghc-options: -Wall -Werror
+ else
+ ghc-options: -O2 -Wall
+ default-language: Haskell2010