aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--application.conf2
-rw-r--r--leboncoin-listener.cabal72
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