Fix arg order in rebar_erlc_compiler:compile_mib/3

This commit is contained in:
Tuncer Ayaz 2012-08-06 17:44:13 +02:00
parent b540c002e7
commit 70c82ba1c1

View file

@ -358,9 +358,9 @@ internal_erl_compile(Config, Source, Outdir, ErlOpts) ->
skipped
end.
-spec compile_mib(rebar_config:config(), file:filename(),
file:filename()) -> 'ok'.
compile_mib(Config, Source, Target) ->
-spec compile_mib(file:filename(), file:filename(),
rebar_config:config()) -> 'ok'.
compile_mib(Source, Target, Config) ->
ok = rebar_utils:ensure_dir(Target),
ok = rebar_utils:ensure_dir(filename:join("include", "dummy.hrl")),
Opts = [{outdir, "priv/mibs"}, {i, ["priv/mibs"]}] ++