diff options
author | Loïc Hoguin <[email protected]> | 2018-11-30 18:57:21 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-30 18:57:21 +0100 |
commit | 5ae9661dca352f16576860dad7eaaad45290312c (patch) | |
tree | 423f61456030a71f86202293942b2c1b11750696 /plugins | |
parent | f53fd8b42729937213a813622f6d4b54ebc09f4e (diff) | |
download | erlang.mk-5ae9661dca352f16576860dad7eaaad45290312c.tar.gz erlang.mk-5ae9661dca352f16576860dad7eaaad45290312c.tar.bz2 erlang.mk-5ae9661dca352f16576860dad7eaaad45290312c.zip |
Fix Dialyzer when a project has and uses parse transforms
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/dialyzer.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/dialyzer.mk b/plugins/dialyzer.mk index 3978bc8..4c2c81d 100644 --- a/plugins/dialyzer.mk +++ b/plugins/dialyzer.mk @@ -58,4 +58,6 @@ dialyze: else dialyze: $(DIALYZER_PLT) endif - $(verbose) dialyzer --no_native `$(ERL) -eval "$(subst $(newline),,$(call escape_dquotes,$(call filter_opts.erl)))" -extra $(ERLC_OPTS)` $(DIALYZER_DIRS) $(DIALYZER_OPTS) + $(verbose) dialyzer --no_native `$(ERL) \ + -eval "$(subst $(newline),,$(call escape_dquotes,$(call filter_opts.erl)))" \ + -extra $(ERLC_OPTS)` $(DIALYZER_DIRS) $(DIALYZER_OPTS) $(if $(wildcard ebin/),-pa ebin/) |