Skip to content


Plans can have other requirements #2

abriening opened this Issue · 1 comment

1 participant


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 => {}}])

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.