Class: RakeCircleCI::TaskSets::Project

Inherits:
RakeFactory::TaskSet
  • Object
show all
Includes:
RakeFactory::Namespaceable
Defined in:
lib/rake_circle_ci/task_sets/project.rb

Instance Method Summary collapse

Instance Method Details

#define_on(application) ⇒ Object



96
97
98
99
100
101
102
103
104
# File 'lib/rake_circle_ci/task_sets/project.rb', line 96

def define_on(application)
  around_define(application) do
    self.class.tasks.each do |task_definition|
      application.in_namespace(resolve_namespace(task_definition)) do
        task_definition.for_task_set(self).define_on(application)
      end
    end
  end
end