diff options
author | Joris | 2018-06-17 14:13:34 +0200 |
---|---|---|
committer | Joris | 2018-06-17 14:13:34 +0200 |
commit | e2a5c7c5c596d057b6fa9c08a8204ce1429cfdc4 (patch) | |
tree | bc908dfd21fe38d0c2d3ff4c8ac0de84289c9cf0 | |
parent | ed26639440b13ebb351687a649a6ef548b50085c (diff) |
Minor updates
-rw-r--r-- | application.conf | 2 | ||||
-rw-r--r-- | leboncoin-listener.cabal | 72 |
2 files changed, 48 insertions, 26 deletions
diff --git a/application.conf b/application.conf index 3a1b357..0bd920d 100644 --- a/application.conf +++ b/application.conf @@ -4,4 +4,4 @@ mailTo = ["jean.dupont@mail.fr", "anne.smith@mail.com"] properties = ["cp", "city", "surface", "ges"] listenInterval = 1 minute -import "local.conf" +importMaybe "local.conf" diff --git a/leboncoin-listener.cabal b/leboncoin-listener.cabal index bedb4dc..9b2ad27 100644 --- a/leboncoin-listener.cabal +++ b/leboncoin-listener.cabal @@ -1,27 +1,49 @@ -name: leboncoin-listener -version: 0.1 -license: GPL-3 -license-file: LICENSE -author: Joris -maintainer: joris@guyonvarch.me -build-type: Simple -cabal-version: >= 1.10 +Name: leboncoin-listener +Version: 0.1 +License: GPL-3 +License-file: LICENSE +Author: Joris +Maintainer: joris@guyonvarch.me +Build-type: Simple +Cabal-version: >= 1.10 executable leboncoin-listener - main-is: Main.hs - hs-source-dirs: src - default-language: Haskell2010 - ghc-options: -Wall -Werror - build-depends: base - , text - , bytestring - , containers - , directory - , time - , http-conduit - , tagsoup - , mime-mail - , blaze-html - , blaze-markup - , clay - , config-manager + Main-is: Main.hs + Hs-source-dirs: src + Default-language: Haskell2010 + Ghc-options: -Wall -Werror + + Build-depends: + base + , text + , bytestring + , containers + , directory + , time + , http-conduit + , tagsoup + , mime-mail + , blaze-html + , blaze-markup + , clay + , config-manager + + other-modules: + AdListener + , Conf + , Fetch + , Mail + , Model.Ad + , Model.Detail + , Model.Mail + , Model.Resume + , Model.URL + , Page + , Parser.Detail + , Parser.Resume + , Parser.Utils + , Time + , Utils.Either + , View.Html.Ad + , View.Html.Design + , View.Plain.Ad |