@@ -143,3 +143,39 @@ Library
143143 Other-Modules:
144144 Hakyll.Web.Preview.Poll
145145 Hakyll.Web.Preview.Server
146+
147+Test-suite hakyll-tests
148+ Type: exitcode-stdio-1.0
149+ Hs-source-dirs: src tests
150+ Main-is: TestSuite.hs
151+ Ghc-options: -Wall
152+
153+ Build-Depends:
154+ HUnit >= 1.2 && < 1.3,
155+ QuickCheck >= 2.4 && < 2.5,
156+ test-framework >= 0.4 && < 0.7,
157+ test-framework-hunit >= 0.2 && < 0.3,
158+ test-framework-quickcheck2 >= 0.2 && < 0.3,
159+ -- Copy pasted from hakyll dependencies:
160+ base >= 4 && < 5,
161+ binary >= 0.5 && < 0.6,
162+ blaze-html >= 0.4 && < 0.6,
163+ bytestring >= 0.9 && < 0.10,
164+ citeproc-hs >= 0.3.2 && < 0.4,
165+ containers >= 0.3 && < 0.5,
166+ cryptohash >= 0.7 && < 0.8,
167+ directory >= 1.0 && < 1.2,
168+ filepath >= 1.0 && < 1.4,
169+ hamlet >= 0.10.3 && < 0.11,
170+ mtl >= 1 && < 2.1,
171+ old-locale >= 1.0 && < 1.1,
172+ old-time >= 1.0 && < 1.2,
173+ pandoc >= 1.9 && < 1.10,
174+ parsec >= 3.0 && < 3.2,
175+ process >= 1.0 && < 1.2,
176+ regex-base >= 0.93 && < 0.94,
177+ regex-tdfa >= 1.1 && < 1.2,
178+ tagsoup >= 0.12.6 && < 0.13,
179+ text >= 0.11 && < 0.12,
180+ time >= 1.1 && < 1.5,
181+ unix >= 2.4 && < 2.6