mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-06 04:52:26 +00:00
pushes to the 'deps' directory inside prefix.
This commit is contained in:
parent
837ee3ac45
commit
277e8aa9a5
4 changed files with 68 additions and 16 deletions
|
|
@ -43,12 +43,24 @@ BEGIN
|
|||
vpkJsonDepRetriever.getURIandType(dep, URI, typ);
|
||||
vpkSyncer.fetch(dep.name^, URI, typ, prefix);
|
||||
INC(i)
|
||||
UNTIL i= depTree.Count;
|
||||
UNTIL i = depTree.Count;
|
||||
END fetch;
|
||||
|
||||
PROCEDURE build*(VAR package, prefix, tree: ARRAY OF CHAR);
|
||||
|
||||
VAR
|
||||
depTree: vpkdepTree.TdepTree;
|
||||
dep: vpkdepTree.Tdep;
|
||||
i: LONGINT;
|
||||
URI: ARRAY 128 OF CHAR;
|
||||
typ: ARRAY 16 OF CHAR;
|
||||
BEGIN
|
||||
|
||||
depTree := resolve(package);
|
||||
i := 0;
|
||||
REPEAT
|
||||
dep := vpkdepTree.Get(depTree, i);
|
||||
vpkJsonDepRetriever.getURIandType(dep, URI, typ);
|
||||
vpkSyncer.fetch(dep.name^, URI, typ, prefix);
|
||||
INC(i);
|
||||
UNTIL i = depTree.Count;
|
||||
END build;
|
||||
END vpkInstaller.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue