summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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