summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--erlang/OMakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/erlang/OMakefile b/erlang/OMakefile
index d213444..2107940 100644
--- a/erlang/OMakefile
+++ b/erlang/OMakefile
@@ -22,7 +22,7 @@
# Phony targets are scoped, so you probably want to declare them first.
#
-.PHONY: all clean test #install
+.PHONY: all clean test edoc dialyzer #install
########################################################################
# Subdirectories.
@@ -44,5 +44,8 @@ test: msgpack.beam
edoc: msgpack.erl
erl -noshell -eval 'ok=edoc:files(["msgpack.erl"], [{dir, "edoc"}]).' -s init stop
+dialyzer: msgpack.erl
+ dialyzer --src $<
+
clean:
-rm -f *.beam *.html