summaryrefslogtreecommitdiff
path: root/maintenance/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/Makefile')
-rw-r--r--maintenance/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/maintenance/Makefile b/maintenance/Makefile
new file mode 100644
index 00000000..97f8b60b
--- /dev/null
+++ b/maintenance/Makefile
@@ -0,0 +1,20 @@
+.PHONY: help test test-light
+help:
+ # Run 'make test' to run the parser tests.
+ # Run 'make doc' to run the phpdoc generation.
+ # Run 'make doxydoc' (unsupported doxygen generation).
+
+test:
+ php parserTests.php
+
+test-light:
+ php parserTests.php --color=light
+
+doc:
+ php mwdocgen.php -all
+ echo 'Doc generation done. Look at ./docs/html/'
+
+doxydoc:
+ cd .. && doxygen maintenance/mwdoxygen.cfg
+ echo 'Doc generation done. Look at ./docs/html/'
+