anchor.diff:      Ebin = ebin(AbsDir),
       code:add_path(Ebin),
   
  -    RebarFile = rebar_conf_file(AbsDir),
  -    case deps(RebarFile) of
  -        {ok, Deps} ->
  -            code:add_paths(deps_ebin(Deps));
  -        {error, _} ->
  -            ok
  -    end.
  +    Conf = consult(rebar_conf_file(AbsDir)),
  +    case get_value(deps, Conf, []) of
  +        [] ->
  +            ok;
  +        Deps ->
  +            code:add_paths(deps_ebin(Deps))
  +    end.
  +%% TODO: add lib_dirs to the code path
  +    %% LibDirs = get_value(lib_dirs, Conf, []),
  +    %% libdirs(Dir, LibDirs, fun update_path/1).
   
   init() ->
       {ok, Cwd} = file:get_cwd(),
  
positive.code:     compile_deps(deps(RebarFile)),
  
      SrcDir = src(dep_path(DepName)),
      case erl_files(SrcDir) of
          [] ->
              ok;
          Files ->
  
negative.code:         _ -> Default
      end.
  
  subdirs(_, [], _) ->
      ok;
  subdirs(Cwd, [H|T], Fun) ->
      Dir = filename:join([Cwd, H]),
      Conf = consult(rebar_conf_file(Dir)),
      subdirs(Dir, get_value(sub_dirs, Conf, []), Fun),
      Fun(Dir),
      subdirs(Cwd, T, Fun).
  
  %% libdirs(_, [], _) ->
  %%     ok;
  %% libdirs(Cwd, [H|T], Fun) ->
  %%     Dir = filename:join([Cwd, H]),
  %%     Conf = consult(rebar_conf_file(Dir)),
  %%     libdirs(Dir, get_value(lib_dirs, Conf, []), Fun),
  %%     Fun(Dir),
  %%     subdirs(Cwd, T, Fun).
  
  %% add_to_path(Dir) ->
  %%     code:add_path(ebin(Dir)).
  
  %% https_to_git(X) ->
  %%     re:replace(X, "https://", "git://", [{return, list}]).
  
  %% git_to_https(X) ->
  %%     re:replace(X, "git://", "https://", [{return, list}]).
  