diff options
author | Tim Dysinger <tim@dysinger.net> | 2011-02-20 14:05:13 -1000 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-02-21 15:29:50 +0100 |
commit | 6f97e6e55bc36b0c2960f4854a43787275236add (patch) | |
tree | 08a88711a12da81c402b24aa8c4016336a4db069 /src | |
parent | 5049da8ec4a1db76b13bf081a2d489fdb15a4775 (diff) |
Add up to date instructions in case LFE is missing
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_lfe_compiler.erl | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/rebar_lfe_compiler.erl b/src/rebar_lfe_compiler.erl index 6ea0724..95d2e84 100644 --- a/src/rebar_lfe_compiler.erl +++ b/src/rebar_lfe_compiler.erl @@ -48,13 +48,17 @@ compile(Config, _AppFile) -> compile_lfe(Source, Target, Config) -> case code:which(lfe_comp) of non_existing -> - ?CONSOLE( - <<"~n===============================================~n" - " You need to install LFE to compile LFE source files~n" - "Download the latest tarball release from github~n" - " https://github.com/rvirding/lfe/downloads~n" - " and install it into your erlang library dir~n" - "===============================================~n~n">>, []), + ?CONSOLE(<< + "~n" + "*** MISSING LFE COMPILER ***~n" + " You must do one of the following:~n" + " a) Install LFE globally in your erl libs~n" + " b) Add LFE as a dep for your project, eg:~n" + " {lfe, \"0.6.1\",~n" + " {git, \"git://github.com/rvirding/lfe\",~n" + " {tag, \"v0.6.1\"}}}~n" + "~n" + >>, []), ?FAIL; _ -> Opts = [{i, "include"}, {outdir, "ebin"}, report, return] ++ |