summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2011-06-11 21:01:20 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2011-06-11 21:01:20 +0200
commit893b366435739d073d2b6b9cafae868b5d361354 (patch)
treee288b6598a260b15d95aaec86c5171dc8d721242 /Makefile
parenteeb549c7f18b7c1777b740fd2e6d469690250bdc (diff)
downloadhakyll-893b366435739d073d2b6b9cafae868b5d361354.tar.gz
Add makefile, hyperlink source in reference
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4d9ddd5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,9 @@
+# Generate the docs and copy them to the website dir
+haddock:
+ cabal haddock --hyperlink-source
+ rm -rf examples/hakyll/reference/
+ cp -r dist/doc/html/hakyll/ examples/hakyll/reference/
+
+# Run the tests
+test:
+ runghc -isrc -itests tests/TestSuite.hs