vpkGit.Mod(clone), confPath change (v1)

This commit is contained in:
mane 2020-04-06 06:15:25 +04:00
parent 0e89e907fd
commit d75b48915d
3 changed files with 51 additions and 28 deletions

18
vpkGit.Mod Normal file
View file

@ -0,0 +1,18 @@
MODULE vpkGit;
IMPORT Out,Strings, Platform;
PROCEDURE clone*(URL : ARRAY OF CHAR);
VAR i : INTEGER;
cmd : ARRAY 120 OF CHAR;
BEGIN
i:=Platform.System("git init .");
cmd := "git clone ";
Strings.Append(URL, cmd);
i := Platform.System(cmd);
Out.Int(i,0);
END clone;
BEGIN
END vpkGit.