mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 09:06:22 +00:00
fixup! fixup! feat: usar un grafo dirigido para ordenar las dependencias #10464
This commit is contained in:
parent
4528da5bcb
commit
5440ecc2c2
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ class Site
|
||||||
|
|
||||||
included do
|
included do
|
||||||
def deployment_graph
|
def deployment_graph
|
||||||
@deployment_graph ||= RGL::AdjacencyGraph.new.tap do |graph|
|
@deployment_graph ||= RGL::DirectedAdjacencyGraph.new.tap do |graph|
|
||||||
deploys.each do |deploy|
|
deploys.each do |deploy|
|
||||||
graph.add_vertex deploy
|
graph.add_vertex deploy
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue