diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-01-24 13:54:29 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-01-24 13:54:29 -0600 |
commit | 4b7f55f79c203b8df6a1d18e2e41d1b3dbab7098 (patch) | |
tree | 3294ffea3de059826d695d46d7c064180178ad3d | |
parent | 07ec6b68c67b9ebc19c9432a4f5a2cc9aa2512a5 (diff) |
add warning that dep options like raw are being ignored
-rw-r--r-- | src/rebar_prv_install_deps.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index 8246f10..5cf7af7 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -425,7 +425,8 @@ parse_dep({Name, Source}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tupl parse_dep({Name, _Vsn, Source}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source) -> Dep = new_dep(DepsDir, Name, [], Source, State), {[Dep | SrcDepsAcc], PkgDepsAcc}; -parse_dep({Name, _Vsn, Source, _Opts}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source) -> +parse_dep({Name, _Vsn, Source, Opts}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source) -> + ?WARN("Dependency option list ~p in ~p is not supported and will be ignored", [Opts, Name]), Dep = new_dep(DepsDir, Name, [], Source, State), {[Dep | SrcDepsAcc], PkgDepsAcc}; parse_dep({Name, Source, Level}, {SrcDepsAcc, PkgDepsAcc}, DepsDir, State) when is_tuple(Source) |