diff options
Diffstat (limited to 'hakyll.cabal')
-rw-r--r-- | hakyll.cabal | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/hakyll.cabal b/hakyll.cabal index 57c6066..34d9cc2 100644 --- a/hakyll.cabal +++ b/hakyll.cabal @@ -1,5 +1,5 @@ Name: hakyll -Version: 2.4.1 +Version: 3.0.0.0 Synopsis: A simple static site generator library. Description: A simple static site generator library, mainly aimed at @@ -24,9 +24,20 @@ source-repository head type: git location: git://github.com/jaspervdj/Hakyll.git +flag inotify + description: Use the inotify bindings for the preview server. Better, but + only works on Linux. + default: False + library ghc-options: -Wall hs-source-dirs: src + + if flag(inotify) + hs-source-dirs: src-inotify + else + hs-source-dirs: src-interval + build-depends: base >= 4 && < 5, filepath == 1.*, directory == 1.*, @@ -47,12 +58,14 @@ library utf8-string >= 0.3, hinotify >= 0.3, tagsoup >= 0.12, - hopenssl >= 1.4 + hopenssl >= 1.4, + unix >= 2.4, + strict-concurrency >= 0.2 exposed-modules: Hakyll Hakyll.Main Hakyll.Web.Util.String Hakyll.Web.Preview.Server - Hakyll.Web.Preview.INotify + Hakyll.Web.Preview.Poll Hakyll.Web.CompressCss Hakyll.Web.Template Hakyll.Web.Feed @@ -64,10 +77,10 @@ library Hakyll.Web.RelativizeUrls Hakyll.Web.Page.Read Hakyll.Web.Page.Metadata - Hakyll.Web Hakyll.Core.ResourceProvider.FileResourceProvider Hakyll.Core.Configuration Hakyll.Core.Identifier.Pattern + Hakyll.Core.UnixFilter Hakyll.Core.Util.Arrow Hakyll.Core.Util.File Hakyll.Core.ResourceProvider |