소스 검색

just delete erlware_commons rebar.config.script, it isn't needed for rebar3

pull/934/head
Tristan Sloughter 9 년 전
부모
커밋
d67ea4a511
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. +7
    -0
      bootstrap

+ 7
- 0
bootstrap 파일 보기

@ -15,6 +15,7 @@ main(_Args) ->
%% Fetch and build deps required to build rebar3
BaseDeps = [{providers, []}
,{getopt, []}
,{cf, []}
,{erlware_commons, ["ec_dictionary.erl", "ec_vsn.erl"]}
,{certifi, []}],
Deps = get_deps(),
@ -68,6 +69,12 @@ fetch_and_compile({Name, ErlFirstFiles}, Deps) ->
{Name, _, Source} ->
ok = fetch(Source, Name)
end,
%% Hack: erlware_commons depends on a .script file to check if it is being built with
%% rebar2 or rebar3. But since rebar3 isn't built yet it can't get the vsn with get_key.
%% So we simply make sure that file is deleted before compiling
file:delete("_build/default/lib/erlware_commons/rebar.config.script"),
compile(Name, ErlFirstFiles).
fetch({pkg, Name, Vsn}, App) ->

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