aboutsummaryrefslogtreecommitdiff
path: root/ad-listener.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'ad-listener.cabal')
-rw-r--r--ad-listener.cabal15
1 files changed, 9 insertions, 6 deletions
diff --git a/ad-listener.cabal b/ad-listener.cabal
index b3598c2..793fd5a 100644
--- a/ad-listener.cabal
+++ b/ad-listener.cabal
@@ -8,7 +8,7 @@ Build-type: Simple
Cabal-version: >= 1.10
Library
- Hs-source-dirs: src/parser/haskell
+ Hs-source-dirs: src/lib/haskell
Main-is: Main.hs
Ghc-options: -Wall -Werror
Default-language: Haskell2010
@@ -18,15 +18,19 @@ Library
Build-depends:
base
+ , bytestring
+ , http-conduit
, tagsoup
, text
Exposed-modules:
- Model.Ad
+ FetchAd
+ , Model.Ad
, Model.URL
, Parser.LeboncoinParser
, Parser.OuestFranceParser
, Parser.SeLogerParser
+ , Utils.HTTP
Other-modules:
Parser.Utils
@@ -45,12 +49,10 @@ Executable ad-listener
, ad-listener
, blaze-html
, blaze-markup
- , bytestring
, clay
, config-manager
, containers
, directory
- , http-conduit
, mime-mail
, tagsoup
, text
@@ -61,8 +63,6 @@ Executable ad-listener
, Model.Mail
, Service.AdListener
, Service.MailService
- , Utils.Either
- , Utils.HTTP
, Utils.Time
, View.Ad
@@ -81,3 +81,6 @@ Test-suite test
, hspec
, ad-listener
, text
+
+ Other-modules:
+ Ads