Przeglądaj źródła

Add VCS dir check for bzr and svn

pull/3/head
Tuncer Ayaz 14 lat temu
rodzic
commit
07269ebdb9
1 zmienionych plików z 5 dodań i 0 usunięć
  1. +5
    -0
      src/rebar_deps.erl

+ 5
- 0
src/rebar_deps.erl Wyświetl plik

@ -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.

Ładowanie…
Anuluj
Zapisz