From 70c82ba1c195fc5e399a076301ba9377d42bc0f3 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 6 Aug 2012 17:44:13 +0200 Subject: Fix arg order in rebar_erlc_compiler:compile_mib/3 --- src/rebar_erlc_compiler.erl | 6 +++--- 1 file 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"]}] ++ -- cgit v1.1