Class: ARake::CustomRakeAppliation

Inherits:
Rake::Application
  • Object
show all
Defined in:
lib/arake.rb

Instance Method Summary collapse

Instance Method Details

#invoke_root_tasks_of(task) ⇒ Object



93
94
95
96
97
# File 'lib/arake.rb', line 93

def invoke_root_tasks_of(task)
  root_tasks_of(task).each do |t|
    t.invoke
  end
end

#reenable_all_tasksObject



87
88
89
90
91
# File 'lib/arake.rb', line 87

def reenable_all_tasks
  tasks.each do |t|
    t.reenable
  end
end

#root_tasks_of(task) ⇒ Object



99
100
101
# File 'lib/arake.rb', line 99

def root_tasks_of(task)
  Misc.root_tasks_of task, tasks
end

#runObject



78
79
80
81
82
83
84
85
# File 'lib/arake.rb', line 78

def run
  standard_exception_handling do
    init
    load_rakefile
    # Don't run top_level at first.  Because all tasks are automatically
    # run whenever dependents are updated.
  end
end