aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorJay Nelson <[email protected]>2014-07-15 18:32:39 -0700
committerJay Nelson <[email protected]>2014-07-20 12:18:27 -0700
commit38147cbcbd36d0618590bddff0f158d64b8904cf (patch)
tree9f2d4c29cbf5e75e60394963948cfb7c5eae628e /erlang.mk
parentf2e7ca3b3d9562b186fb276c72ee7f45a8304c32 (diff)
downloaderlang.mk-38147cbcbd36d0618590bddff0f158d64b8904cf.tar.gz
erlang.mk-38147cbcbd36d0618590bddff0f158d64b8904cf.tar.bz2
erlang.mk-38147cbcbd36d0618590bddff0f158d64b8904cf.zip
Allow $DIALYZER_OPTS to add more source directories
The current ordering of args in the dialyzer command don't allow additional source directories to be specified. Putting --no_native first allows the beginning of the $DIALYZER_OPTS to specify additional directories of files to be analyzed.
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.mk b/erlang.mk
index d29632c..328a732 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -269,7 +269,7 @@ build-plt: deps app
@dialyzer --build_plt --apps erts kernel stdlib $(PLT_APPS) $(ALL_DEPS_DIRS)
dialyze:
- @dialyzer --src src --no_native $(DIALYZER_OPTS)
+ @dialyzer --no_native --src src $(DIALYZER_OPTS)
# Packages.