PATH:
opt
/
alt
/
ruby24
/
lib64
/
ruby
/
gems
/
2.4.0
/
gems
/
rake-12.0.0
/
lib
/
rake
module Rake # Same as a regular task, but the immediate prerequisites are done in # parallel using Ruby threads. # class MultiTask < Task # Same as invoke, but explicitly pass a call chain to detect # circular dependencies. This is largely copied from Rake::Task # but has been updated such that 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 @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 if application.options.trace application.trace "** Invoke #{name} #{format_trace_flags}" 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 end end end private def invoke_prerequisites(task_args, invocation_chain) # :nodoc: invoke_prerequisites_concurrently(task_args, invocation_chain) end end end
[-] rake_module.rb
[edit]
[-] tasklib.rb
[edit]
[-] multi_task.rb
[edit]
[-] clean.rb
[edit]
[-] task_arguments.rb
[edit]
[+]
ext
[-] rule_recursion_overflow_error.rb
[edit]
[-] pseudo_status.rb
[edit]
[-] promise.rb
[edit]
[-] version.rb
[edit]
[-] task_argument_error.rb
[edit]
[-] late_time.rb
[edit]
[-] thread_pool.rb
[edit]
[+]
loaders
[-] dsl_definition.rb
[edit]
[-] early_time.rb
[edit]
[-] cloneable.rb
[edit]
[-] thread_history_display.rb
[edit]
[-] invocation_exception_mixin.rb
[edit]
[-] default_loader.rb
[edit]
[-] file_list.rb
[edit]
[-] rake_test_loader.rb
[edit]
[-] phony.rb
[edit]
[-] scope.rb
[edit]
[-] testtask.rb
[edit]
[-] name_space.rb
[edit]
[+]
..
[-] backtrace.rb
[edit]
[-] task_manager.rb
[edit]
[-] file_utils.rb
[edit]
[-] invocation_chain.rb
[edit]
[-] win32.rb
[edit]
[-] trace_output.rb
[edit]
[-] file_creation_task.rb
[edit]
[-] task.rb
[edit]
[-] application.rb
[edit]
[-] linked_list.rb
[edit]
[-] file_utils_ext.rb
[edit]
[-] file_task.rb
[edit]
[-] cpu_counter.rb
[edit]
[-] private_reader.rb
[edit]
[-] packagetask.rb
[edit]