Ver a proveniência

Add VCS dir check for bzr and svn

pull/3/head
Tuncer Ayaz há 14 anos
ascendente
cometimento
07269ebdb9
1 ficheiros alterados com 5 adições e 0 eliminações
  1. +5
    -0
      src/rebar_deps.erl

+ 5
- 0
src/rebar_deps.erl Ver ficheiro

@ -373,5 +373,10 @@ has_vcs_dir(git, Dir) ->
filelib:is_dir(filename:join(Dir, ".git"));
has_vcs_dir(hg, Dir) ->
filelib:is_dir(filename:join(Dir, ".hg"));
has_vcs_dir(bzr, Dir) ->
filelib:is_dir(filename:join(Dir, ".bzr"));
has_vcs_dir(svn, Dir) ->
filelib:is_dir(filename:join(Dir, ".svn"))
orelse filelib:is_dir(filename:join(Dir, "_svn"));
has_vcs_dir(_, _) ->
true.

Carregando…
Cancelar
Guardar