Commit graph

37 commits

Author SHA1 Message Date
Jasper Van der Jeugt
4586e7bb3d Remove warnings in test suite 2011-02-23 13:56:13 +01:00
Jasper Van der Jeugt
3532d5f100 Top-level module for reading templates 2011-02-10 12:30:58 +01:00
Jasper Van der Jeugt
8cec091e04 Add some tests for RelativizeUrls 2011-02-09 19:57:25 +01:00
Jasper Van der Jeugt
d9e0c3e86b Some tests for the Page module 2011-02-09 19:28:53 +01:00
Jasper Van der Jeugt
002cf4de32 Add hamlet templates and restructure tests 2011-02-09 18:11:24 +01:00
Jasper Van der Jeugt
4bdd93b331 Add Route code 2010-12-23 19:20:05 +01:00
Jasper Van der Jeugt
3fdf8ab204 Add identifier/pattern modules 2010-12-23 17:19:21 +01:00
Jasper Van der Jeugt
d1d28b9349 Add tests for the directed graph modules 2010-12-23 14:51:38 +01:00
Jasper Van der Jeugt
eabc26812d Remove old tests for now 2010-12-23 14:32:43 +01:00
Jasper Van der Jeugt
371bc0347b Clean up yesterday's work, fix tests 2010-10-04 14:14:41 +02:00
Jasper Van der Jeugt
2c6239b37d Fix tests in master 2010-09-23 12:23:25 +02:00
Jasper Van der Jeugt
2066be0621 Add inHakyllDirectory function and test cases 2010-08-02 12:59:22 +02:00
Jasper Van der Jeugt
bb9ea6f122 Add newtype for Context 2010-06-20 10:45:17 +02:00
Jasper Van der Jeugt
ff57c2f660 Added fix to allow dashes in pages.
Hakyll splits pages into metadata sections by lines starting
with `---`. Because of this, thing like

    Header
    ------

    Some text.

will not parse. This commit fixes this, by fixating the length
of the the dash pattern -- all dashed lines should contain the
same number of dashes. Therefor, you can use something like

    ---
    title: Foobar
    ---

    Header
    ------

    Some text.
2010-04-04 15:08:59 +02:00
Jasper Van der Jeugt
057b7fa485 Moved Arbitrary Template instance to tests.
This way, the code for Text.Hakyll.Internal.Template is
cleaner, and our library does not depend on QuickCheck
anymore.
2010-04-01 12:27:27 +02:00
Jasper Van der Jeugt
417a9a92d8 Added test case for non-metadata pages. 2010-04-01 12:26:31 +02:00
Jasper Van der Jeugt
c9e3458083 Added .txt support, tests update.
- Pure text files are now supported.
- We now hide the Internal modules.
- Tests should be run through ghci.
- Added testing of page reading.
2010-03-26 14:10:10 +01:00
Jasper Van der Jeugt
c9d4624a42 Updated tests. 2010-02-16 19:18:53 +01:00
Jasper Van der Jeugt
8e78fe04f6 Made Arbitrary Page instance. 2010-01-25 15:12:20 +01:00
Jasper Van der Jeugt
d41500758f Backported previous tests. 2010-01-24 22:27:11 +01:00
Jasper Van der Jeugt
7a75e1f481 test-framework is fixed again, so we use it again. 2010-01-24 22:00:51 +01:00
Jasper Van der Jeugt
d97a53b6b4 Changed test system. Wrote some test cases. 2010-01-24 19:00:49 +01:00
Jasper Van der Jeugt
5f8ea066d6 Added changeExtension ContextManipulation. 2010-01-23 17:12:49 +01:00
Jasper Van der Jeugt
d7f04a2c6d Strictness cleanup. 2010-01-23 10:25:47 +01:00
Jasper Van der Jeugt
8602f23f7b Made site and cache directory configurable. Caching stubs. 2010-01-20 16:46:22 +01:00
Jasper Van der Jeugt
fb381ddfd3 Changed to tibbe's style guide for imports. 2010-01-17 14:43:41 +01:00
Jasper Van der Jeugt
ac641ef0b0 Added comment test case for compressCss. 2010-01-14 08:56:40 +01:00
Jasper Van der Jeugt
243062f126 Added some more tests. 2010-01-11 15:54:04 +01:00
Jasper Van der Jeugt
6bcad2701a Added custom Template system. Highly experimental. 2010-01-10 19:17:18 +01:00
Jasper Van der Jeugt
6a2e6998b1 Worked on substitution. 2010-01-10 13:26:57 +01:00
Jasper Van der Jeugt
bc71d54ab7 Started working on relative-url branch. 2010-01-10 12:16:47 +01:00
Jasper Van der Jeugt
73f6b1ab8c Some changes to the regex interface, and version bump. 2010-01-09 21:40:31 +01:00
Jasper Van der Jeugt
547f98dff0 Added link function. 2010-01-08 09:42:33 +01:00
Jasper Van der Jeugt
d29e4157f1 Added an havingExtension filter because it's handy. 2010-01-05 11:11:02 +01:00
Jasper Van der Jeugt
6c1d41dbe2 Added some tests for the date rendering. 2010-01-03 16:01:47 +01:00
Jasper Van der Jeugt
a532352858 Some more tests. Fixed split function. 2009-12-25 12:06:11 +01:00
Jasper Van der Jeugt
4fa472250e Added some tests. 2009-12-25 11:55:03 +01:00