2021-10-25 19:04:24 +03:00
|
|
|
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
|
2021-11-24 19:26:58 +02:00
|
|
|
data-files: dhall/*.dhall
|
|
|
|
, dhall/AMQP/*.dhall
|
|
|
|
, dhall/Fetcher/*.dhall
|
|
|
|
, dhall/Qualifier/*.dhall
|
2021-10-25 19:04:24 +03:00
|
|
|
|
|
|
|
library
|
|
|
|
ghc-options: -Wall
|
|
|
|
exposed-modules: MyLib
|
|
|
|
Data.Config
|
|
|
|
Data.Deriving.Aeson
|
2021-10-27 21:10:22 +03:00
|
|
|
Network.Reddit
|
2021-10-25 19:04:24 +03:00
|
|
|
Data.SubReddit
|
2021-10-27 23:21:09 +03:00
|
|
|
Membership
|
2021-10-25 19:04:24 +03:00
|
|
|
|
|
|
|
-- Modules included in this library but not exported.
|
|
|
|
-- other-modules:
|
|
|
|
|
|
|
|
-- LANGUAGE extensions used by modules in this package.
|
|
|
|
-- other-extensions:
|
2022-04-20 20:27:30 +03:00
|
|
|
build-depends: base ^>=4.15.1.0
|
2021-10-25 19:04:24 +03:00
|
|
|
, amqp
|
|
|
|
, aeson
|
|
|
|
, lens
|
|
|
|
, lens-aeson
|
|
|
|
, mtl
|
|
|
|
, text
|
|
|
|
, bytestring
|
|
|
|
, dhall
|
|
|
|
, wreq
|
|
|
|
, pipes
|
2021-10-27 22:43:20 +03:00
|
|
|
, containers
|
2021-10-27 23:21:09 +03:00
|
|
|
, sqlite-simple
|
2022-05-16 21:42:11 +03:00
|
|
|
, reddit-lib
|
2021-10-25 19:04:24 +03:00
|
|
|
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:
|
2022-04-20 20:27:30 +03:00
|
|
|
base ^>=4.15.1.0,
|
2021-10-25 19:04:24 +03:00
|
|
|
reddit-pub
|
|
|
|
|
|
|
|
hs-source-dirs: app
|
|
|
|
default-language: Haskell2010
|
2021-10-27 22:43:20 +03:00
|
|
|
|
|
|
|
test-suite reddit-tests
|
|
|
|
main-is: Spec.hs
|
|
|
|
type: exitcode-stdio-1.0
|
2021-10-27 23:33:13 +03:00
|
|
|
other-modules:
|
2021-10-27 22:43:20 +03:00
|
|
|
|
|
|
|
-- Modules included in this executable, other than Main.
|
|
|
|
-- other-modules:
|
|
|
|
|
|
|
|
-- LANGUAGE extensions used by modules in this package.
|
|
|
|
-- other-extensions:
|
|
|
|
build-depends:
|
2022-04-20 20:27:30 +03:00
|
|
|
base ^>=4.15.1.0,
|
2021-10-27 22:43:20 +03:00
|
|
|
mtl,
|
|
|
|
containers,
|
|
|
|
bytestring,
|
|
|
|
reddit-pub,
|
|
|
|
hedgehog,
|
|
|
|
hspec,
|
|
|
|
hspec-hedgehog
|
|
|
|
|
|
|
|
hs-source-dirs: test
|
|
|
|
default-language: Haskell2010
|