Add makefile, hyperlink source in reference
commit893b366435739d073d2b6b9cafae868b5d361354
authorJasper Van der Jeugt <jaspervdj@gmail.com>
dateSat 11 Jun 2011, 21:01 (15 years ago)
parenteeb549c
Makefilenew file+9
@@ -0,0 +1,9 @@
1+# Generate the docs and copy them to the website dir
2+haddock:
3+ cabal haddock --hyperlink-source
4+ rm -rf examples/hakyll/reference/
5+ cp -r dist/doc/html/hakyll/ examples/hakyll/reference/
6+
7+# Run the tests
8+test:
9+ runghc -isrc -itests tests/TestSuite.hs
examples/hakyll/hakyll.hs+1−1
@@ -11,7 +11,7 @@ main = hakyll $ do
1111 compile compressCssCompiler
1212
1313 -- Static directories
14− forM_ ["images/*", "examples/*", "reference/*"] $ \f -> match f $ do
14+ forM_ ["images/*", "examples/*", "reference/**"] $ \f -> match f $ do
1515 route idRoute
1616 compile copyFileCompiler
1717