diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-03-18 18:51:08 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-03-18 18:51:08 +0100 |
commit | b6fadef5d3f330c9c71782e7e87810b307892acb (patch) | |
tree | e78edd998c015531f999ff1f6418d9cf8720c2be | |
parent | 2c37270f5244143463ad1e348ebdbae4b0fcf8a6 (diff) |
Fix whitespace errors
-rw-r--r-- | src/rebar_abnfc_compiler.erl | 13 | ||||
-rw-r--r-- | src/rebar_erlydtl_compiler.erl | 16 | ||||
-rw-r--r-- | src/rebar_neotoma_compiler.erl | 13 |
3 files changed, 20 insertions, 22 deletions
diff --git a/src/rebar_abnfc_compiler.erl b/src/rebar_abnfc_compiler.erl index 5bad8c0..0e6749a 100644 --- a/src/rebar_abnfc_compiler.erl +++ b/src/rebar_abnfc_compiler.erl @@ -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), diff --git a/src/rebar_erlydtl_compiler.erl b/src/rebar_erlydtl_compiler.erl index 936c70a..9c47a63 100644 --- a/src/rebar_erlydtl_compiler.erl +++ b/src/rebar_erlydtl_compiler.erl @@ -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 diff --git a/src/rebar_neotoma_compiler.erl b/src/rebar_neotoma_compiler.erl index a1712bf..9bff892 100644 --- a/src/rebar_neotoma_compiler.erl +++ b/src/rebar_neotoma_compiler.erl @@ -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 |