You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As long as the super-project can reference tasks created in the sub-project, allow the sub-project tasks to have prerequisites attached to them in the super-project Rakefile.
So, to be clear, here are some tasks in in the subproject, located at foo.
task :hello do
p "HELLO"
end
task :world => :hello do
p "WORLD"
end
task :cruel do
p "CRUEL"
end
And here is the super-project:
subproject 'foo'
task 'foo:world' => ['foo:cruel', 'period'] do
p "AGAIN"
end
task 'period' do
p "."
end
Now, when executing the super project:
$ rake foo:world
HELLO
CRUEL
.
WORLD
AGAIN
The sub-project prerequisites are all executed before the super-task prerequisites.
The text was updated successfully, but these errors were encountered:
As long as the super-project can reference tasks created in the sub-project, allow the sub-project tasks to have prerequisites attached to them in the super-project Rakefile.
So, to be clear, here are some tasks in in the subproject, located at
foo
.And here is the super-project:
Now, when executing the super project:
The sub-project prerequisites are all executed before the super-task prerequisites.
The text was updated successfully, but these errors were encountered: