diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-11-08 09:15:09 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-11-08 09:15:09 -0600 |
commit | 1ff904f39a07416a6739bd97b8f94c504e1587d0 (patch) | |
tree | 31636216efcf35f2e907197745e50437f0ad0d0a /src/rebar_prv_erlydtl_compiler.erl | |
parent | fd9f88b98a554030c8cb285b918f416811f06d04 (diff) |
handle throw by relx
Diffstat (limited to 'src/rebar_prv_erlydtl_compiler.erl')
-rw-r--r-- | src/rebar_prv_erlydtl_compiler.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_prv_erlydtl_compiler.erl b/src/rebar_prv_erlydtl_compiler.erl index 8d80cdd..18c6e20 100644 --- a/src/rebar_prv_erlydtl_compiler.erl +++ b/src/rebar_prv_erlydtl_compiler.erl @@ -159,7 +159,7 @@ info(help, compile) -> "Build ErlyDtl (*.dtl) sources.~n" "~n" "Valid rebar.config options:~n" - " ~p~n", + " ~p", [ {erlydtl_opts, [{doc_root, "templates"}, {out_dir, "ebin"}, @@ -204,7 +204,7 @@ compile_dtl(Config, Source, Target, DtlOpts) -> " Download the latest tarball release from github~n" " https://github.com/erlydtl/erlydtl/releases~n" " and install it into your erlang library dir~n" - "===============================================~n~n", []), + "===============================================~n", []), ?FAIL; _ -> case needs_compile(Source, Target, DtlOpts) of @@ -234,7 +234,7 @@ do_compile(Config, Source, Target, DtlOpts) -> %% ensure that doc_root and out_dir are defined, %% using defaults if necessary Opts = lists:ukeymerge(1, DtlOpts, Sorted), - ?INFO("Compiling \"~s\" -> \"~s\" with options:~n ~s~n", + ?INFO("Compiling \"~s\" -> \"~s\" with options:~n ~s", [Source, Target, io_lib:format("~p", [Opts])]), case erlydtl:compile_file(ec_cnv:to_list(Source), list_to_atom(module_name(Target)), |