Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Specifying that a task has multiple dependencies

Tags:

I would like to specify that:

  • :output_core depends on :build_core
  • :build_extension depends on :build_core
  • :output_extension depends on both :build_extension and :output_core.

How would I specify that last one? That in order to run the :output_extensions task, both :build_extensions and :output_core must be completed?

like image 550
George Mauer Avatar asked Oct 02 '09 17:10

George Mauer


People also ask

How do you define task dependencies?

A task dependency is a relationship that requires a particular order for tasks to be performed. It means that one preceding task relies on the other succeeding one. The predecessor task defines the start or finish date of its successor task.

Which technique is best used for showing multiple dependencies in a project?

How to manage project dependencies. Dependencies are often shown as Gantt charts, which can help: Track the time a project is taking to complete.


1 Answers

You specify them with an array:

task :output_extension => [:build_extension, :output_core] 
like image 63
Vincent Avatar answered Oct 04 '22 14:10

Vincent