diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-08-06 17:44:13 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-08-06 17:44:13 +0200 |
commit | 70c82ba1c195fc5e399a076301ba9377d42bc0f3 (patch) | |
tree | 689c4e0b4ecf69e34c4416e2da54c9beb1bfc1c1 | |
parent | b540c002e746cfb5befcee24b8244edbc51c023b (diff) |
Fix arg order in rebar_erlc_compiler:compile_mib/3
-rw-r--r-- | src/rebar_erlc_compiler.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl index 2435884..982c9ee 100644 --- a/src/rebar_erlc_compiler.erl +++ b/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"]}] ++ |