소스 검색

Add erlc override from erl_opts: outdir

pull/3/head
Joe DeVivo 13 년 전
committed by Tuncer Ayaz
부모
커밋
991e2ce8e1
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      src/rebar_erlc_compiler.erl

+ 3
- 1
src/rebar_erlc_compiler.erl 파일 보기

@ -259,7 +259,9 @@ doterl_compile(Config, OutDir, MoreSources) ->
true = code:add_path(filename:absname("ebin")), true = code:add_path(filename:absname("ebin")),
rebar_base_compiler:run(Config, NewFirstErls, OtherErls, rebar_base_compiler:run(Config, NewFirstErls, OtherErls,
fun(S, C) -> fun(S, C) ->
internal_erl_compile(C, S, OutDir, ErlOpts)
internal_erl_compile(C, S,
proplists:get_value(outdir, ErlOpts, OutDir),
ErlOpts)
end), end),
true = code:set_path(CurrPath), true = code:set_path(CurrPath),
ok. ok.

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