def standard_finalize(options)
      if options[:command_status]
        target, sources, cache, env = options.values_at(:target, :sources, :cache, :env)
        cache.register_build(target, options[:tc].command, sources, env)
        target
      end
    end
def standard_finalize(options)
      if options[:command_status]
        target, sources, cache, env = options.values_at(:target, :sources, :cache, :env)
        cache.register_build(target, options[:tc].command, sources, env)
        target
      end
    end
Register build results from a {ThreadedCommand} with the cache.

 @since 1.10.0

 @param options [Hash]
   Builder finalize options.

 @return [String, nil]
   The target name on success or nil on failure.