packages feed

persistent-discover-0.1.0.1: persistent-discover.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: a19c34e1b40e11e9e11ba1037b48d10704dccd150ce870080a6648ef6a8c1ad1

name:           persistent-discover
version:        0.1.0.1
synopsis:       Persistent module discover utilities
description:    This package provides an executable for discovering Persistent model definition files, as well as a library function to glob all persistent model files. Please see the README on GitHub at <https://github.com/parsonsmatt/persistent-discover#readme>
category:       Web
homepage:       https://github.com/parsonsmatt/persistent-discover#readme
bug-reports:    https://github.com/parsonsmatt/persistent-discover/issues
author:         Matt Parsons
maintainer:     parsonsmatt@gmail.com
copyright:      Matt Parsons
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/parsonsmatt/persistent-discover

library
  exposed-modules:
      Database.Persist.Discover
      Database.Persist.Discover.Exe
      Lib
  other-modules:
      Paths_persistent_discover
  hs-source-dirs:
      ./src
  default-extensions: BlockArguments TypeFamilies FlexibleInstances MultiParamTypeClasses OverloadedStrings GeneralizedNewtypeDeriving DerivingStrategies TypeFamilies GADTs DerivingStrategies StandaloneDeriving DataKinds FlexibleInstances
  ghc-options: -Wall
  build-depends:
      base >=4.12 && <5
    , directory
    , dlist
    , file-embed
    , filepath
    , mtl
    , persistent >=2.13.0.0
    , template-haskell >=2.16.0.0
  default-language: Haskell2010

executable persistent-discover
  main-is: Main.hs
  other-modules:
      Paths_persistent_discover
  hs-source-dirs:
      app
  default-extensions: BlockArguments TypeFamilies FlexibleInstances MultiParamTypeClasses OverloadedStrings GeneralizedNewtypeDeriving DerivingStrategies TypeFamilies GADTs DerivingStrategies StandaloneDeriving DataKinds FlexibleInstances
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.12 && <5
    , directory
    , dlist
    , file-embed
    , filepath
    , mtl
    , persistent >=2.13.0.0
    , persistent-discover
    , template-haskell >=2.16.0.0
  default-language: Haskell2010

test-suite persistent-discover-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Database.Persist.Discover.ExeSpec
      Paths_persistent_discover
  hs-source-dirs:
      test
  default-extensions: BlockArguments TypeFamilies FlexibleInstances MultiParamTypeClasses OverloadedStrings GeneralizedNewtypeDeriving DerivingStrategies TypeFamilies GADTs DerivingStrategies StandaloneDeriving DataKinds FlexibleInstances
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-tool-depends:
      hspec-discover:hspec-discover
  build-depends:
      base >=4.12 && <5
    , directory
    , dlist
    , file-embed
    , filepath
    , hspec
    , hspec-discover
    , mtl
    , persistent >=2.13.0.0
    , persistent-discover
    , template-haskell >=2.16.0.0
  default-language: Haskell2010