anchor.diff:  %% system when the run is complete.
   -spec main() -> sin_config:config() | ok.
   main() ->
  -    run_sinan(),
  -    case sin_error_store:has_errors() of
  -	ErrCount when ErrCount =< 0 ->
  -	    init:stop();
  -	_ ->
  -	    init:stop(101)
  +    case run_sinan() of
  +        {ok, _} ->
  +            init:stop();
  +        {error, _} ->
  +            init:stop(101)
       end.
   
   %% @doc do the full run of sinan as required by the command line args
  
positive.code: 
  -spec do_build(term(), [string()]) -> sin_config:config().
  do_build(Options, [Target | Rest]) ->
      do_task(list_to_atom(Target),
  	    find_start_dir(Options),
  	    setup_config_overrides(Options, Rest));
  do_build(Options, []) ->
      do_build(Options, ["build"]).
  
  
negative.code: 
  %% API
  -export([main/0,
           run_sinan/0,
           run_sinan/1,
           do_task/3]).
  
  -export_type([args/0,
                task_name/0]).
  
  -include_lib("eunit/include/eunit.hrl").
  -include("internal.hrl").
  