mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-06 04:52:26 +00:00
now the resolver client should install the retriever procedure.
This commit is contained in:
parent
db0a32e674
commit
f6a4c1f0bc
4 changed files with 11 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
|||
MODULE vpkInstaller;
|
||||
IMPORT Out, StringList, vpkResolver, vpkdepTree, vpkDot, vpkSettings;
|
||||
IMPORT Out, StringList, vpkResolver, vpkdepTree, vpkDot, vpkSettings, vpkJsonDepRetriever;
|
||||
|
||||
PROCEDURE install*(VAR unit: ARRAY OF CHAR);
|
||||
VAR
|
||||
|
|
@ -9,7 +9,7 @@ VAR
|
|||
i : LONGINT;
|
||||
BEGIN
|
||||
Out.String("resolving dependencies...");
|
||||
tree := vpkResolver.resolve(unit);
|
||||
tree := vpkResolver.resolve(unit, vpkJsonDepRetriever.getDeps);
|
||||
Out.String(" done!"); Out.Ln;
|
||||
lst := vpkDot.tree2dot(tree);
|
||||
Out.String("dependency graph:"); Out.Ln;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue