packages feed

persistent-discover-0.1.0.7: persistent-discover.cabal

cabal-version: 1.12

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

name:           persistent-discover
version:        0.1.0.7
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
  other-modules:
      Paths_persistent_discover
  hs-source-dirs:
      ./src
  default-extensions:
      BlockArguments
      DataKinds
      DerivingStrategies
      DerivingStrategies
      FlexibleInstances
      FlexibleInstances
      GADTs
      GeneralizedNewtypeDeriving
      MultiParamTypeClasses
      OverloadedStrings
      StandaloneDeriving
      TypeFamilies
      TypeFamilies
      TypeOperators
  ghc-options: -Wall
  build-depends:
      base >=4.12 && <5
    , directory
    , discover-instances
    , dlist
    , file-embed
    , filepath
    , mtl
    , persistent >=2.13.0.0
    , some-dict-of
    , template-haskell >=2.16.0.0
    , text
  default-language: Haskell2010

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