Skip to content

Loading…

Plans can have other requirements #2

Closed
abriening opened this Issue · 1 comment

1 participant

@abriening

Add the ability for a Plan to depend on other plans.

Something like:

build(:my_requirement, :requires => [{:requirement => "other_requirement" => :options => {}}]) { |options| FileUtils.touch "temp_file" }
# or
build(:my_requirement) do |options| 
  FileUtils.touch "temp_file"
end.requirements([{:requirement => "other_requirement" => :options => {}}])
@abriening

I think this implies a recursive run method.

@abriening abriening was assigned
@abriening abriening closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.