anchor.diff:  deps([]) ->
       ok;
   deps([H|T]) ->
  -    {Name, Repo} = mad_deps:name_and_repo(H),
  -    Co = case Repo of
  -             {_, _, V} ->
  -                 V;
  -             {_, _, V, _} ->
  -                 V
  -         end,
  -    Co1 = mad_deps:checkout_to(Co),
  -    DepName = mad_deps:make_dep_name(Name, Co1),
  -    case get(DepName) of
  +    {Name, _} = mad_deps:name_and_repo(H),
  +    case get(Name) of
           compiled ->
               ok;
           _ ->
  -            dep(DepName)
  +            dep(Name)
       end,
       deps(T).
   
   %% compile a dependency
   dep(DepName) ->
       %% check dependencies of the dependency
  -    DepPath = mad_deps:path(DepName),
  +    Cwd = mad_utils:cwd(),
  +    DepPath = filename:join([Cwd, "deps", DepName]),
       Conf = mad_utils:rebar_conf(DepPath),
       Conf1 = mad_utils:script(DepPath, Conf),
       deps(mad_utils:get_value(deps, Conf1, [])),
  
positive.code:         _ ->
              Properties ++ [{modules, []}]
      end.
  
negative.code:     lists:foreach(fun app/1, SubDirs),
  
      SrcDir = mad_utils:src(DepPath),
      Files = sort(erl_files(SrcDir)) ++ app_src_files(SrcDir),
      case Files of
          [] ->
              ok;
  