diff options
author | András Boroska <andras.boroska@gmail.com> | 2018-11-11 19:03:11 +0100 |
---|---|---|
committer | András Boroska <andras.boroska@gmail.com> | 2018-11-11 19:03:11 +0100 |
commit | 7dd8545e52c0730dbf7d11306522ac830f337615 (patch) | |
tree | 2d812dde77b9096cf4947c6ed70d2824aa2da84b /src | |
parent | d0e9a553468424b53aeb9907201d0b4f5aa4fad2 (diff) |
Fix plugins list display to include project plugins
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_plugins.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_plugins.erl b/src/rebar_prv_plugins.erl index d66b645..fba5da0 100644 --- a/src/rebar_prv_plugins.erl +++ b/src/rebar_prv_plugins.erl @@ -42,10 +42,11 @@ do(State) -> RebarOpts = rebar_state:opts(State), SrcDirs = rebar_dir:src_dirs(RebarOpts, ["src"]), Plugins = rebar_state:get(State, plugins, []), + ProjectPlugins = rebar_state:get(State, project_plugins, []), PluginsDirs = filelib:wildcard(filename:join(rebar_dir:plugins_dir(State), "*")), CheckoutsDirs = filelib:wildcard(filename:join(rebar_dir:checkouts_dir(State), "*")), Apps = rebar_app_discover:find_apps(CheckoutsDirs++PluginsDirs, SrcDirs, all, State), - display_plugins("Local plugins", Apps, Plugins), + display_plugins("Local plugins", Apps, Plugins ++ ProjectPlugins), {ok, State}. -spec format_error(any()) -> iolist(). |