瀏覽代碼

Fix options to be more consistent

pull/3/head
Dave Smith 15 年之前
父節點
當前提交
0151f63239
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      src/rebar_erlc_compiler.erl

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

@ -100,7 +100,7 @@ target_file(F, TargetDir, InExt, OutExt) ->
compile_erl(Source, Config) ->
Opts = rebar_config:get_list(Config, erlc_opts, []),
Opts = rebar_config:get_list(Config, erl_opts, []),
case compile:file(Source, [{i, "include"}, {outdir, "ebin"}, report] ++ Opts) of
{ok, _} ->
ok;
@ -109,7 +109,7 @@ compile_erl(Source, Config) ->
end.
compile_mib(Source, Config) ->
Opts = rebar_config:get_list(Config, mibc_opts, []),
Opts = rebar_config:get_list(Config, mib_opts, []),
case snmpc:compile(Source, [{outdir, "priv/mibs"}, {i, ["priv/mibs"]}] ++ Opts) of
{ok, _} ->
ok;

Loading…
取消
儲存