aboutsummaryrefslogtreecommitdiff
path: root/tomatobot.cabal
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@gmail.com>2022-05-28 10:40:52 -0500
committerJacques Comeaux <jacquesrcomeaux@gmail.com>2022-05-28 10:40:52 -0500
commit31c3566895bb717f51e986697d3452e549451f73 (patch)
tree723b9fd36af8fd6997903590948d700508f05b83 /tomatobot.cabal
parent3d3163a1028e99e5073fd39adc9aee5d76a5e5a2 (diff)
Handle requests
Diffstat (limited to 'tomatobot.cabal')
-rw-r--r--tomatobot.cabal64
1 files changed, 16 insertions, 48 deletions
diff --git a/tomatobot.cabal b/tomatobot.cabal
index 95e382a..f4202d1 100644
--- a/tomatobot.cabal
+++ b/tomatobot.cabal
@@ -13,11 +13,9 @@ author: Author name here
maintainer: example@example.com
copyright: 2022 Author name here
license: BSD3
-license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
- ChangeLog.md
source-repository head
type: git
@@ -66,9 +64,17 @@ library
build-depends:
aeson
, base >=4.7 && <5
+ , bytestring
+ , conduit
+ , conduit-extra
+ , http-types
, modern-uri
, req
, rio
+ , unliftio
+ , wai
+ , wai-conduit
+ , warp
default-language: Haskell2010
executable tomatobot-exe
@@ -110,54 +116,16 @@ executable tomatobot-exe
build-depends:
aeson
, base >=4.7 && <5
+ , bytestring
+ , conduit
+ , conduit-extra
+ , http-types
, modern-uri
, req
, rio
, tomatobot
- default-language: Haskell2010
-
-test-suite tomatobot-test
- type: exitcode-stdio-1.0
- main-is: Spec.hs
- other-modules:
- Paths_tomatobot
- hs-source-dirs:
- test
- default-extensions:
- ApplicativeDo
- BangPatterns
- ConstraintKinds
- DataKinds
- EmptyCase
- ExistentialQuantification
- FlexibleContexts
- FlexibleInstances
- GADTs
- GeneralizedNewtypeDeriving
- InstanceSigs
- KindSignatures
- LambdaCase
- MultiParamTypeClasses
- NoImplicitPrelude
- NoStarIsType
- OverloadedStrings
- PatternSynonyms
- PolyKinds
- RankNTypes
- ScopedTypeVariables
- StandaloneDeriving
- StandaloneKindSignatures
- TupleSections
- TypeApplications
- TypeFamilies
- TypeFamilyDependencies
- TypeOperators
- ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wredundant-constraints -Wmissing-local-signatures -Wmissing-export-lists -Wpartial-fields -Wmonomorphism-restriction -Widentities -Wno-unticked-promoted-constructors -fprint-expanded-synonyms -threaded -rtsopts -with-rtsopts=-N
- build-depends:
- aeson
- , base >=4.7 && <5
- , modern-uri
- , req
- , rio
- , tomatobot
+ , unliftio
+ , wai
+ , wai-conduit
+ , warp
default-language: Haskell2010