packages feed

purescript-bridge-0.9.0.0: purescript-bridge.cabal

-- Initial purescript-bridge.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                purescript-bridge

-- The package version.  See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.9.0.0

-- A short (one-line) description of the package.
synopsis:            Generate PureScript data types from Haskell data types

-- A longer description of the package.
-- description:

-- The license under which the package is released.
license:             BSD3

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              Robert Klotzner

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer:          robert . klotzner A T gmx . at

-- A copyright notice.
-- copyright:

category:            Web

build-type:          Simple

-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files:

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >=1.10

extra-source-files: README.md

source-repository head
  type:     git
  location: https://github.com/eskimor/purescript-bridge.git

library
  -- Modules exported by the library.
  exposed-modules: Language.PureScript.Bridge
                , Language.PureScript.Bridge.Builder
                , Language.PureScript.Bridge.Primitives
                , Language.PureScript.Bridge.Printer
                , Language.PureScript.Bridge.PSTypes
                , Language.PureScript.Bridge.SumType
                , Language.PureScript.Bridge.Tuple
                , Language.PureScript.Bridge.TypeInfo
                , Language.PureScript.Bridge.TypeParameters

  -- Modules included in this library but not exported.
  -- other-modules:

  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:

  -- Other library packages from which modules are imported.
  build-depends:       base >=4.8 && < 6.0
                     , containers
                     , directory
                     , filepath
                     , mtl
                     , lens
                     , text
                     , transformers
                     , generic-deriving

  ghc-options:       -Wall

  -- Directories containing source files.
  hs-source-dirs:      src

  -- Base language which the package is written in.
  default-language:    Haskell2010


Test-Suite tests
  type:          exitcode-stdio-1.0
  main-is:       Spec.hs
  other-modules: TestData
  build-depends: base
               , containers
               , purescript-bridge
               , text
               , hspec
               , hspec-expectations-pretty-diff

  hs-source-dirs:   test
  default-language: Haskell2010