mirror of
https://github.com/correl/rebar.git
synced 2024-11-27 11:09:55 +00:00
erlc: fix comment
test_compile/3 is used by eunit and qc, but the comment was only referring to 'rebar eunit'.
This commit is contained in:
parent
077f8e064a
commit
c26b0c7d6b
1 changed files with 7 additions and 6 deletions
|
@ -146,12 +146,13 @@ test_compile(Config, Cmd, OutDir) ->
|
||||||
lists:append(Acc, Files)
|
lists:append(Acc, Files)
|
||||||
end, [], SrcDirs),
|
end, [], SrcDirs),
|
||||||
|
|
||||||
%% If it is not the first time rebar eunit is executed, there will be source
|
%% If it is not the first time rebar eunit or rebar qc is executed,
|
||||||
%% files already present in OutDir. Since some SCMs (like Perforce) set
|
%% there will be source files already present in OutDir. Since some
|
||||||
%% the source files as being read only (unless they are checked out), we
|
%% SCMs (like Perforce) set the source files as being read only (unless
|
||||||
%% need to be sure that the files already present in OutDir are writable
|
%% they are checked out), we need to be sure that the files already
|
||||||
%% before doing the copy. This is done here by removing any file that was
|
%% present in OutDir are writable before doing the copy. This is done
|
||||||
%% already present before calling rebar_file_utils:cp_r.
|
%% here by removing any file that was already present before calling
|
||||||
|
%% rebar_file_utils:cp_r.
|
||||||
|
|
||||||
%% Get the full path to a file that was previously copied in OutDir
|
%% Get the full path to a file that was previously copied in OutDir
|
||||||
ToCleanUp = fun(F, Acc) ->
|
ToCleanUp = fun(F, Acc) ->
|
||||||
|
|
Loading…
Reference in a new issue