瀏覽代碼

Fix eunit testing of apps that have no erl files

'Erlang' projects that do not contain any erlang files (Joxa, LFE,
Elixir, etc) break the eunit task. It attempts to copy an empty list
of source files to the .eunit directory. This change makes copying an
empty list a simple no-op.
pull/3/head
Eric B Merritt 13 年之前
committed by Tuncer Ayaz
父節點
當前提交
ec3927f9b0
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      src/rebar_file_utils.erl

+ 2
- 0
src/rebar_file_utils.erl 查看文件

@ -57,6 +57,8 @@ rm_rf(Target) ->
end.
-spec cp_r(Sources::list(string()), Dest::file:filename()) -> ok.
cp_r([], _Dest) ->
ok;
cp_r(Sources, Dest) ->
case os:type() of
{unix, _} ->

Loading…
取消
儲存