mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Add up to date instructions in case LFE is missing
This commit is contained in:
parent
5049da8ec4
commit
6f97e6e55b
1 changed files with 11 additions and 7 deletions
|
@ -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] ++
|
||||
|
|
Loading…
Reference in a new issue