Loading page…
A build tool must run its steps in an order where every step comes after the steps it needs. Kahn's algorithm counts in degrees and keeps a queue of steps with nothing left to wait for. The depth first method writes a step down when it finishes, then reverses the list. Both spot a cycle, and the order is usually not unique.
You press the build button.