vendor/bundle/ruby/2.5.0/gems/rake-13.0.1/lib/rake/task.rb
# Same as invoke, but explicitly pass a call chain to detect
# circular dependencies.
#
# If multiple tasks depend on this
# one in parallel, they will all fail if the first execution of
# this task fails.
Same as invoke, but explicitly pass a call chain to detect
circular dependencies.

If multiple tasks depend on this
one in parallel, they will all fail if the first execution of
this task fails.
Same as invoke but explicitly pass a call chain to detect circular dependencies . If multiple tasks depend on this one in parallel they will all fail if the first execution of this task fails .
def invoke_with_call_chain(task_args, invocation_chain)
      new_chain = Rake::InvocationChain.append(self, invocation_chain)
      @lock.synchronize do
        begin
          if application.options.trace
            application.trace "** Invoke #{name} #{format_trace_flags}"
          end
          if @already_invoked
            if @invocation_exception
              if application.options.trace
                application.trace "** Previous invocation of #{name} failed #{format_trace_flags}"
              end
              raise @invocation_exception
            else
              return
            end
          end
          @already_invoked = true
          invoke_prerequisites(task_args, new_chain)
          execute(task_args) if needed?
        rescue Exception => ex
          add_chain_to(ex, new_chain)
          @invocation_exception = ex
          raise ex
        end
      end
    end
def invoke_with_call_chain ( task_args , invocation_chain ) new_chain = Rake :: InvocationChain . append ( self , invocation_chain ) @lock . synchronize do begin if application . options . trace application . trace "** Invoke #{name} #{format_trace_flags}" end if @already_invoked if @invocation_exception if application . options . trace application . trace "** Previous invocation of #{name} failed #{format_trace_flags}" end raise @invocation_exception else return end end @already_invoked = true invoke_prerequisites ( task_args , new_chain ) execute ( task_args ) if needed? rescue Exception => ex add_chain_to ( ex , new_chain ) @invocation_exception = ex raise ex end end end
Same as invoke, but explicitly pass a call chain to detect
circular dependencies.
Same as invoke but explicitly pass a call chain to detect circular dependencies .
task_args
invocation_chain