Browse Source

Ignore some common unneeded deps when patching rebar apps

Things like edown or meck are quite common and only used for
building doc comments or testing.

Proper is unfortunately required at this point.
Loïc Hoguin 10 years ago
parent
commit
027af052d5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/deps.mk

+ 2 - 0
core/deps.mk

@@ -146,6 +146,8 @@ define dep_autopatch_rebar.erl
 	Escape = fun (Text) ->
 		re:replace(Text, "\\\\$$$$", "\$$$$$$$$", [global, {return, list}])
 	end,
+	Write("IGNORE_DEPS = edown eper eunit_formatters meck "
+		"rebar_lock_deps_plugin rebar_vsn_plugin reltool_util\n\n"),
 	fun() ->
 		Write("ERLC_OPTS = +debug_info\n"),
 		case lists:keyfind(erl_opts, 1, Conf) of