anchor.diff:  %% Public API
   %% ===================================================================
   
  -compile(_Config, _AppFile) ->
  +compile(Config, _AppFile) ->
       case rebar_utils:find_files("src", ".*\\.proto$") of
           [] ->
               ok;
  
positive.code:     ActualBeam = filename:join(["ebin", filename:basename(Beam)]),
      filelib:last_modified(ActualBeam) < filelib:last_modified(Proto).
  
  compile_each([]) ->
      ok;
  compile_each([{Proto, Beam, Hrl} | Rest]) ->
      case needs_compile(Proto, Beam) of
          true ->
              ?CONSOLE("Compiling ~s\n", [Proto]),
              case protobuffs_compile:scan_file(Proto) of
                  ok ->
                      %% Compilation worked, but we need to move the
                      %% beam and .hrl file into the ebin/ and include/
  
negative.code:         false ->
              ok
      end,
      compile_each(Config, Rest).
  
  delete_each([]) ->
      ok;
  