瀏覽代碼

Fix arg order in rebar_erlc_compiler:compile_mib/3

pull/3/head
Tuncer Ayaz 12 年之前
父節點
當前提交
70c82ba1c1
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      src/rebar_erlc_compiler.erl

+ 3
- 3
src/rebar_erlc_compiler.erl 查看文件

@ -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…
取消
儲存