reddit-pub/reddit-pub.cabal
2021-11-24 19:26:58 +02:00

96 lines
2.4 KiB
Plaintext

cabal-version: 2.4
name: reddit-pub
version: 0.1.0.0
-- A short (one-line) description of the package.
-- synopsis:
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
-- license:
author: Mats Rauhala
maintainer: mats.rauhala@iki.fi
-- A copyright notice.
-- copyright:
-- category:
extra-source-files: CHANGELOG.md
data-files: dhall/*.dhall
, dhall/AMQP/*.dhall
, dhall/Fetcher/*.dhall
, dhall/Qualifier/*.dhall
library
ghc-options: -Wall
exposed-modules: MyLib
Data.Config
Data.Deriving.Aeson
Network.Reddit
Data.SubReddit
Publish
Membership
-- Modules included in this library but not exported.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends: base ^>=4.14.1.0
, amqp
, aeson
, lens
, lens-aeson
, mtl
, text
, bytestring
, dhall
, wreq
, pipes
, containers
, sqlite-simple
hs-source-dirs: src
default-language: Haskell2010
executable reddit-pub
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
base ^>=4.14.1.0,
reddit-pub
hs-source-dirs: app
default-language: Haskell2010
test-suite reddit-tests
main-is: Spec.hs
type: exitcode-stdio-1.0
other-modules:
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
base ^>=4.14.1.0,
mtl,
containers,
bytestring,
reddit-pub,
hedgehog,
hspec,
hspec-hedgehog
hs-source-dirs: test
default-language: Haskell2010