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,13 +84,12 @@ abnfc_is_present() ->
|
|||
compile_abnfc(Source, _Target, Config) ->
|
||||
case abnfc_is_present() of
|
||||
false ->
|
||||
?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"
|
||||
" and install it into your erlang library dir~n"
|
||||
"===============================================~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"
|
||||
" and install it into your erlang library dir~n"
|
||||
"===============================================~n~n", []),
|
||||
?FAIL;
|
||||
true ->
|
||||
AbnfcOpts = abnfc_opts(Config),
|
||||
|
|
|
@ -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,13 +114,12 @@ default(custom_tags_dir) -> "".
|
|||
compile_dtl(Source, Target, Config) ->
|
||||
case code:which(erlydtl) of
|
||||
non_existing ->
|
||||
?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"
|
||||
" and install it into your erlang library dir~n"
|
||||
"===============================================~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"
|
||||
" and install it into your erlang library dir~n"
|
||||
"===============================================~n~n", []),
|
||||
?FAIL;
|
||||
_ ->
|
||||
case needs_compile(Source, Target, Config) of
|
||||
|
|
|
@ -74,13 +74,12 @@ default(source_ext) -> ".peg".
|
|||
compile_neo(Source, Target, Config) ->
|
||||
case code:which(neotoma) of
|
||||
non_existing ->
|
||||
?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"
|
||||
" and install it into your erlang library dir~n"
|
||||
"===============================================~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"
|
||||
" and install it into your erlang library dir~n"
|
||||
"===============================================~n~n", []),
|
||||
?FAIL;
|
||||
_ ->
|
||||
case needs_compile(Source, Target, Config) of
|
||||
|
|
Loading…
Reference in a new issue