From 03e7993402d77d15fed31df74206b00cfdd54f9d Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Sat, 11 Jan 2014 20:26:10 +0100 Subject: [PATCH] Fix #205 (erlydtl:compile/3 returns warnings) Adapt rebar_erlydtl_compiler to handle warnings emitted by erlydtl:compile/3. --- src/rebar_erlydtl_compiler.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rebar_erlydtl_compiler.erl b/src/rebar_erlydtl_compiler.erl index 6172879..27c378d 100644 --- a/src/rebar_erlydtl_compiler.erl +++ b/src/rebar_erlydtl_compiler.erl @@ -210,6 +210,8 @@ do_compile(Config, Source, Target, DtlOpts) -> Opts) of ok -> ok; + {ok, _Mod, _Bin, Ws} -> + rebar_base_compiler:ok_tuple(Config, Source, Ws); error -> rebar_base_compiler:error_tuple(Config, Source, [], [], Opts); {error, {_File, _Msgs} = Error} ->