Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans can have other requirements #2

Closed
abriening opened this issue Nov 24, 2011 · 1 comment
Closed

Plans can have other requirements #2

abriening opened this issue Nov 24, 2011 · 1 comment
Assignees

Comments

@abriening
Copy link
Contributor

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
Copy link
Contributor Author

I think this implies a recursive run method.

@ghost ghost assigned abriening Nov 26, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant