소스 검색

Make local commands remove libs before unpacking

pull/2309/head
Pablo Costas 4 년 전
부모
커밋
932bd6dd93
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      src/rebar_prv_local_install.erl

+ 3
- 0
src/rebar_prv_local_install.erl 파일 보기

@ -83,6 +83,9 @@ extract_escript(State, ScriptPath) ->
throw(?PRV_ERROR({non_writeable, OutputDir}))
end,
?INFO("Removing existing rebar3 libs from ~ts...", [OutputDir]),
rebar_file_utils:rm_rf(filename:join(OutputDir, "*")),
?INFO("Extracting rebar3 libs to ~ts...", [OutputDir]),
zip:extract(Archive, [{cwd, OutputDir}]),

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