summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2009-11-25 22:27:07 -0700
committerDave Smith <dizzyd@dizzyd.com>2009-11-25 22:27:07 -0700
commit0151f63239117024d30e090b8c178c188f45a52a (patch)
tree84b45deded6ff56a14cc49511c1283ef5a4473cb /src
parente4a9310a9769d432ea8d1fa32710ebb02eda2c60 (diff)
Fix options to be more consistent
Diffstat (limited to 'src')
-rw-r--r--src/rebar_erlc_compiler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index 518c446..0218f77 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/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;