make dependency analyser free of global variables
This commit is contained in:
parent
73799903ee
commit
006ee79a91
2 changed files with 17 additions and 10 deletions
|
|
@ -48,7 +48,7 @@ proc commandGenDepend(graph: ModuleGraph; cache: IdentCache) =
|
|||
compileProject(graph, cache)
|
||||
let project = graph.config.projectFull
|
||||
writeDepsFile(graph, project)
|
||||
generateDot(project)
|
||||
generateDot(graph, project)
|
||||
execExternalProgram(graph.config, "dot -Tpng -o" & changeFileExt(project, "png") &
|
||||
' ' & changeFileExt(project, "dot"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue