diff options
Diffstat (limited to 'src')
-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"]}] ++ |