mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-06 04:52:26 +00:00
vpkGit.Mod(clone), confPath change (v1)
This commit is contained in:
parent
0e89e907fd
commit
d75b48915d
3 changed files with 51 additions and 28 deletions
18
vpkGit.Mod
Normal file
18
vpkGit.Mod
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue