diff options
author | Loïc Hoguin <[email protected]> | 2015-09-29 15:03:34 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-09-29 15:03:34 +0200 |
commit | fe5c42fb818acf9ad6ca6589ea182dfbfbaa5427 (patch) | |
tree | 5ca924e351e7cb325e179be273febe52ab7f1208 /plugins/dialyzer.mk | |
parent | 41ea5e7fe740625899cd9553f5d9faf25cf5425a (diff) | |
download | erlang.mk-fe5c42fb818acf9ad6ca6589ea182dfbfbaa5427.tar.gz erlang.mk-fe5c42fb818acf9ad6ca6589ea182dfbfbaa5427.tar.bz2 erlang.mk-fe5c42fb818acf9ad6ca6589ea182dfbfbaa5427.zip |
Add support for APPS_DIR
This changes adds Rebar-like "apps/" functionality.
From this commit onward, Erlang.mk supports 4 types of repositories:
- Repo with an Erlang app at root level + deps/
- Repo with an Erlang app at root level + apps/ deps/
- Repo with no app at root level + deps/
- Repo with no app at root level + apps/ deps/
Example usage:
- make new-app in=webchat
- make new t=gen_server n=my_chat in=webchat
- make
Replace new-app with new-lib to create an OTP library instead of
an OTP application.
Diffstat (limited to 'plugins/dialyzer.mk')
-rw-r--r-- | plugins/dialyzer.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dialyzer.mk b/plugins/dialyzer.mk index ddced75..709b43f 100644 --- a/plugins/dialyzer.mk +++ b/plugins/dialyzer.mk @@ -28,7 +28,7 @@ help:: # Plugin-specific targets. $(DIALYZER_PLT): deps app - $(verbose) dialyzer --build_plt --apps erts kernel stdlib $(PLT_APPS) $(OTP_DEPS) $(ALL_DEPS_DIRS) + $(verbose) dialyzer --build_plt --apps erts kernel stdlib $(PLT_APPS) $(OTP_DEPS) $(LOCAL_DEPS) $(DEPS) plt: $(DIALYZER_PLT) |