anchor.diff:  
   
   clean(Config, ReltoolFile) ->
  -    ok.
  +    ReltoolConfig = load_config(ReltoolFile),
  +    TargetDir = target_dir(Config, ReltoolConfig),
  +    rebar_file_utils:rm_rf(TargetDir),
  +    rebar_file_utils:delete_each(["reltool.spec"]).
   
   
   
   %% ===================================================================
   %% Internal functions
   %% ===================================================================
  +
  +load_config(ReltoolFile) ->
  +    %% Load the reltool configuration from the file
  +    case file:consult(ReltoolFile) of
  +        {ok, [{sys, ReltoolConfig}]} ->
  +            ReltoolConfig;
  +        Other ->
  +            ?ERROR("Failed to load expected config from ~s: ~p\n", [ReltoolFile, Other]),
  +            ?FAIL
  +    end.
  +    
   
   %%
   %% Determine the name of the target directory; try the user provided name
  
positive.code:          clean/2]).
  
  -include("rebar.hrl").
  
  %% ===================================================================
  %% Public API
  
negative.code: 
  generate(Config, ReltoolFile) ->
      %% Load the reltool configuration from the file
      ReltoolConfig = load_config(ReltoolFile),
  
      %% Spin up reltool server and load our config into it
      {ok, Server} = reltool:start_server([{sys, ReltoolConfig}]),
  
      %% Do some validation of the reltool configuration; error messages out of
      %% reltool are still pretty cryptic
      validate_rel_apps(Server, ReltoolConfig),
  
      %% Finally, run reltool
      case catch(run_reltool(Config, ReltoolConfig)) of
          ok ->
              ok;
  