anchor.diff:      AbsDir = filename:absname(Dir),
       SrcDir = src(AbsDir),
       IncDir = include(AbsDir),
  -    case file:list_dir(SrcDir) of
  -        {ok, Files} ->
  +    case erl_files(SrcDir) of
  +        [] ->
  +            ok;
  +        Files ->
               EbinDir = ebin(AbsDir),
               exec("mkdir", ["-p", EbinDir]),
  -            lists:foreach(compile_fun(SrcDir, EbinDir, IncDir), Files);
  -        {error, _} ->
  -            ok
  +            lists:foreach(compile_fun(SrcDir, EbinDir, IncDir), Files)
       end.
   
   compile_deps([]) ->
  
positive.code:     SrcDir = src(get_path(Name2)),
      EbinDir = ebin(get_path(Name2)),
      IncDir = include(get_path(Name2)),
      case file:list_dir(SrcDir) of
          {ok, Files} ->
              exec("mkdir", ["-p", EbinDir]),
              lists:foreach(compile_fun(SrcDir, EbinDir, IncDir), Files);
          {error, _} -> ok
      end,
  
      %% check dependencies of the dependency
  
negative.code:             ok
      end,
      do_clone_deps(T).
  
  erl_files(Dir) ->
      filelib:wildcard(filename:join([Dir, "*.erl"])).
  