diff options
Diffstat (limited to 'src/rebar_neotoma_compiler.erl')
-rw-r--r-- | src/rebar_neotoma_compiler.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_neotoma_compiler.erl b/src/rebar_neotoma_compiler.erl index e84ab2a..988fa42 100644 --- a/src/rebar_neotoma_compiler.erl +++ b/src/rebar_neotoma_compiler.erl @@ -74,7 +74,7 @@ default(source_ext) -> ".peg". compile_neo(Source, Target, Config) -> case code:which(neotoma) of non_existing -> - ?CONSOLE( + ?ERROR( <<"~n===============================================~n" " You need to install neotoma to compile PEG grammars~n" " Download the latest tarball release from github~n" @@ -101,10 +101,10 @@ do_compile(Source, _Target, Config) -> ++ option(module_ext, NeoOpts))}], case neotoma:file(Source, Opts ++ NeoOpts) of ok -> - ok; + ok; Reason -> - ?CONSOLE("Compiling peg ~s failed:~n ~p~n", - [Source, Reason]), + ?ERROR("Compiling peg ~s failed:~n ~p~n", + [Source, Reason]), ?FAIL end. |