aboutsummaryrefslogtreecommitdiff
path: root/ad-listener.cabal
diff options
context:
space:
mode:
authorJoris2019-09-05 20:46:36 +0200
committerJoris2019-09-05 20:46:36 +0200
commit317e7b1e7319182e5caa5169119aea9fc8d660b6 (patch)
treedc9f9c458c42d1e2c60a12ff55267e042c88f6ba /ad-listener.cabal
parent223ae6aa0b14c071d5719ada0cc6b43e9199a81b (diff)
downloadad-listener-317e7b1e7319182e5caa5169119aea9fc8d660b6.tar.gz
ad-listener-317e7b1e7319182e5caa5169119aea9fc8d660b6.tar.bz2
ad-listener-317e7b1e7319182e5caa5169119aea9fc8d660b6.zip
Enable the listener only during some hours
Diffstat (limited to 'ad-listener.cabal')
-rw-r--r--ad-listener.cabal12
1 files changed, 8 insertions, 4 deletions
diff --git a/ad-listener.cabal b/ad-listener.cabal
index fbe094e..be9c388 100644
--- a/ad-listener.cabal
+++ b/ad-listener.cabal
@@ -18,11 +18,12 @@ Library
Build-depends:
base
, bytestring
- , wreq
- , tagsoup
- , text
, http-types
, lens
+ , tagsoup
+ , text
+ , time
+ , wreq
Exposed-modules:
FetchAd
@@ -32,6 +33,7 @@ Library
, Parser.OuestFranceParser
, Parser.SeLogerParser
, Utils.HTTP
+ , Utils.Time
Other-modules:
Parser.Utils
@@ -65,7 +67,6 @@ Executable ad-listener
, Model.Mail
, Service.AdListener
, Service.MailService
- , Utils.Time
, View.Ad
Test-suite test
@@ -84,6 +85,9 @@ Test-suite test
, ad-listener
, text
, wreq
+ , time
Other-modules:
Ads
+ ParserSpec
+ TimeSpec