mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Fix whitespace errors
This commit is contained in:
parent
2c37270f52
commit
b6fadef5d3
3 changed files with 20 additions and 22 deletions
|
@ -84,8 +84,7 @@ abnfc_is_present() ->
|
|||
compile_abnfc(Source, _Target, Config) ->
|
||||
case abnfc_is_present() of
|
||||
false ->
|
||||
?ERROR(
|
||||
"~n===============================================~n"
|
||||
?ERROR("~n===============================================~n"
|
||||
" You need to install abnfc to compile ABNF grammars~n"
|
||||
" Download the latest tarball release from github~n"
|
||||
" https://github.com/nygge/abnfc~n"
|
||||
|
|
|
@ -89,7 +89,8 @@ compile(Config, _AppFile) ->
|
|||
option(source_ext, DtlOpts),
|
||||
option(out_dir, DtlOpts),
|
||||
option(module_ext, DtlOpts) ++ ".beam",
|
||||
fun compile_dtl/3, [{check_last_mod, false}]),
|
||||
fun compile_dtl/3,
|
||||
[{check_last_mod, false}]),
|
||||
true = code:set_path(OrigPath),
|
||||
Result.
|
||||
|
||||
|
@ -113,8 +114,7 @@ default(custom_tags_dir) -> "".
|
|||
compile_dtl(Source, Target, Config) ->
|
||||
case code:which(erlydtl) of
|
||||
non_existing ->
|
||||
?ERROR(
|
||||
"~n===============================================~n"
|
||||
?ERROR("~n===============================================~n"
|
||||
" You need to install erlydtl to compile DTL templates~n"
|
||||
" Download the latest tarball release from github~n"
|
||||
" http://code.google.com/p/erlydtl/~n"
|
||||
|
|
|
@ -74,8 +74,7 @@ default(source_ext) -> ".peg".
|
|||
compile_neo(Source, Target, Config) ->
|
||||
case code:which(neotoma) of
|
||||
non_existing ->
|
||||
?ERROR(
|
||||
"~n===============================================~n"
|
||||
?ERROR("~n===============================================~n"
|
||||
" You need to install neotoma to compile PEG grammars~n"
|
||||
" Download the latest tarball release from github~n"
|
||||
" https://github.com/seancribbs/neotoma~n"
|
||||
|
|
Loading…
Reference in a new issue