From 526cd35f418fe14bb0039900a00a0e024686ee34 Mon Sep 17 00:00:00 2001 From: Roman Kuznetsov Date: Sun, 7 Jan 2018 12:17:04 +0100 Subject: Embed feed templates rather than using data-files --- hakyll.cabal | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'hakyll.cabal') diff --git a/hakyll.cabal b/hakyll.cabal index 65664f7..4a3dff1 100644 --- a/hakyll.cabal +++ b/hakyll.cabal @@ -56,10 +56,6 @@ Data-files: example/index.html example/about.rst example/contact.markdown - templates/atom-item.xml - templates/atom.xml - templates/rss-item.xml - templates/rss.xml Extra-source-files: CHANGELOG.md @@ -77,6 +73,10 @@ Extra-source-files: tests/data/strip.html.out tests/data/template.html tests/data/template.html.out + data/templates/atom-item.xml + data/templates/atom.xml + data/templates/rss-item.xml + data/templates/rss.xml Source-Repository head Type: git @@ -190,7 +190,8 @@ Library unordered-containers >= 0.2 && < 0.3, vector >= 0.11 && < 0.13, yaml >= 0.8.11 && < 0.9, - optparse-applicative >= 0.12 && < 0.15 + optparse-applicative >= 0.12 && < 0.15, + file-embed >= 0.0.10.1 && < 0.0.11 If flag(previewServer) Build-depends: -- cgit v1.2.3