소스 검색

Add up to date instructions in case LFE is missing

pull/3/head
Tim Dysinger 14 년 전
committed by Tuncer Ayaz
부모
커밋
6f97e6e55b
1개의 변경된 파일11개의 추가작업 그리고 7개의 파일을 삭제
  1. +11
    -7
      src/rebar_lfe_compiler.erl

+ 11
- 7
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] ++

불러오는 중...
취소
저장