mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Fix arg order in rebar_erlc_compiler:compile_mib/3
This commit is contained in:
parent
b540c002e7
commit
70c82ba1c1
1 changed files with 3 additions and 3 deletions
|
@ -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"]}] ++
|
||||
|
|
Loading…
Reference in a new issue