@@ -78,40 +78,15 @@ Flag previewServer
78 Description: Include the preview server
78 Description: Include the preview server
79 Default: True
79 Default: True
82+ Description: Include external link checking
82 Ghc-Options: -Wall
86 Ghc-Options: -Wall
83 Ghc-Prof-Options: -auto-all -caf-all
87 Ghc-Prof-Options: -auto-all -caf-all
84 Hs-Source-Dirs: src
88 Hs-Source-Dirs: src
88− binary >= 0.5 && < 0.8,
89− blaze-html >= 0.5 && < 0.7,
90− blaze-markup >= 0.5.1 && < 0.6,
91− bytestring >= 0.9 && < 0.11,
92− citeproc-hs >= 0.3.2 && < 0.4,
93− containers >= 0.3 && < 0.6,
94− cryptohash >= 0.7 && < 0.9,
95− deepseq >= 1.3 && < 1.4,
96− directory >= 1.0 && < 1.3,
97− filepath >= 1.0 && < 1.4,
98− http-conduit >= 1.8 && < 1.10,
99− http-types >= 0.7 && < 0.9,
100− lrucache >= 1.1.1 && < 1.2,
102− old-locale >= 1.0 && < 1.1,
103− old-time >= 1.0 && < 1.2,
104− cmdargs >= 0.10 && < 0.11,
105− pandoc >= 1.10 && < 1.11,
106− parsec >= 3.0 && < 3.2,
107− process >= 1.0 && < 1.2,
108− random >= 1.0 && < 1.1,
109− regex-base >= 0.93 && < 0.94,
110− regex-tdfa >= 1.1 && < 1.2,
111− tagsoup >= 0.12.6 && < 0.13,
112− text >= 0.11 && < 1.12,
113− time >= 1.1 && < 1.5
115 Exposed-Modules:
90 Exposed-Modules:
117 Hakyll.Core.Compiler
92 Hakyll.Core.Compiler
@@ -159,6 +134,33 @@ Library
159 Hakyll.Web.Template.Internal
134 Hakyll.Web.Template.Internal
160 Paths_hakyll
135 Paths_hakyll
139+ binary >= 0.5 && < 0.8,
140+ blaze-html >= 0.5 && < 0.7,
141+ blaze-markup >= 0.5.1 && < 0.6,
142+ bytestring >= 0.9 && < 0.11,
143+ citeproc-hs >= 0.3.2 && < 0.4,
144+ containers >= 0.3 && < 0.6,
145+ cryptohash >= 0.7 && < 0.9,
146+ deepseq >= 1.3 && < 1.4,
147+ directory >= 1.0 && < 1.3,
148+ filepath >= 1.0 && < 1.4,
149+ lrucache >= 1.1.1 && < 1.2,
151+ old-locale >= 1.0 && < 1.1,
152+ old-time >= 1.0 && < 1.2,
153+ cmdargs >= 0.10 && < 0.11,
154+ pandoc >= 1.10 && < 1.11,
155+ parsec >= 3.0 && < 3.2,
156+ process >= 1.0 && < 1.2,
157+ random >= 1.0 && < 1.1,
158+ regex-base >= 0.93 && < 0.94,
159+ regex-tdfa >= 1.1 && < 1.2,
160+ tagsoup >= 0.12.6 && < 0.13,
161+ text >= 0.11 && < 1.12,
162+ time >= 1.1 && < 1.5
162 If flag(previewServer)
164 If flag(previewServer)
163 Build-depends:
165 Build-depends:
164 snap-core >= 0.6 && < 0.10,
166 snap-core >= 0.6 && < 0.10,
@@ -169,11 +171,33 @@ Library
169 Hakyll.Preview.Poll
171 Hakyll.Preview.Poll
170 Hakyll.Preview.Server
172 Hakyll.Preview.Server
174+ If flag(checkExternal)
176+ http-conduit >= 1.8 && < 1.10,
177+ http-types >= 0.7 && < 0.9
172Test-suite hakyll-tests
181Test-suite hakyll-tests
173 Type: exitcode-stdio-1.0
182 Type: exitcode-stdio-1.0
174 Hs-source-dirs: src tests
183 Hs-source-dirs: src tests
175 Main-is: TestSuite.hs
184 Main-is: TestSuite.hs
176 Ghc-options: -Wall
185 Ghc-options: -Wall
187+ Hakyll.Core.Dependencies.Tests
188+ Hakyll.Core.Identifier.Tests
189+ Hakyll.Core.Provider.Tests
190+ Hakyll.Core.Routes.Tests
191+ Hakyll.Core.Rules.Tests
192+ Hakyll.Core.Runtime.Tests
193+ Hakyll.Core.Store.Tests
194+ Hakyll.Core.UnixFilter.Tests
195+ Hakyll.Core.Util.String.Tests
196+ Hakyll.Web.Template.Context.Tests
197+ Hakyll.Web.Template.Tests
198+ Hakyll.Web.Html.Tests
199+ Hakyll.Web.Html.RelativizeUrls.Tests
178 Build-Depends:
202 Build-Depends:
179 HUnit >= 1.2 && < 1.3,
203 HUnit >= 1.2 && < 1.3,
@@ -193,14 +217,12 @@ Test-suite hakyll-tests
193 deepseq >= 1.3 && < 1.4,
217 deepseq >= 1.3 && < 1.4,
194 directory >= 1.0 && < 1.3,
218 directory >= 1.0 && < 1.3,
195 filepath >= 1.0 && < 1.4,
219 filepath >= 1.0 && < 1.4,
196− http-conduit >= 1.8 && < 1.10,
197− http-types >= 0.7 && < 0.9,
198 lrucache >= 1.1.1 && < 1.2,
220 lrucache >= 1.1.1 && < 1.2,
199 mtl >= 1 && < 2.2,
221 mtl >= 1 && < 2.2,
200 old-locale >= 1.0 && < 1.1,
222 old-locale >= 1.0 && < 1.1,
201 old-time >= 1.0 && < 1.2,
223 old-time >= 1.0 && < 1.2,
202 cmdargs >= 0.10 && < 0.11,
224 cmdargs >= 0.10 && < 0.11,
203− pandoc >= 1.0 && < 1.11,
225+ pandoc >= 1.10 && < 1.11,
204 parsec >= 3.0 && < 3.2,
226 parsec >= 3.0 && < 3.2,
205 process >= 1.0 && < 1.2,
227 process >= 1.0 && < 1.2,
206 random >= 1.0 && < 1.1,
228 random >= 1.0 && < 1.1,
@@ -210,21 +232,22 @@ Test-suite hakyll-tests
210 text >= 0.11 && < 1.12,
232 text >= 0.11 && < 1.12,
211 time >= 1.1 && < 1.5
233 time >= 1.1 && < 1.5
235+ If flag(previewServer)
237+ snap-core >= 0.6 && < 0.10,
238+ snap-server >= 0.6 && < 0.10
213− Other-modules:
241+ Other-modules:
214− Hakyll.Core.Dependencies.Tests
242+ Hakyll.Preview.Poll
215− Hakyll.Core.Identifier.Tests
243+ Hakyll.Preview.Server
216− Hakyll.Core.Provider.Tests
244+
217− Hakyll.Core.Routes.Tests
245+ If flag(checkExternal)
218− Hakyll.Core.Rules.Tests
246+ Build-depends:
219− Hakyll.Core.Runtime.Tests
247+ http-conduit >= 1.8 && < 1.10,
220− Hakyll.Core.Store.Tests
248+ http-types >= 0.7 && < 0.9
221− Hakyll.Core.UnixFilter.Tests
249+ Cpp-options:
222− Hakyll.Core.Util.String.Tests
250+ -DCHECK_EXTERNAL
223− Hakyll.Web.Template.Context.Tests
224− Hakyll.Web.Template.Tests
225− Hakyll.Web.Html.Tests
226− Hakyll.Web.Html.RelativizeUrls.Tests
229Executable hakyll-init
252Executable hakyll-init
230 Ghc-options: -Wall
253 Ghc-options: -Wall