mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-06 13:02:26 +00:00
moved vipack specific sources to src
This commit is contained in:
parent
8a476ab610
commit
c02b5d6c83
23 changed files with 24 additions and 86 deletions
|
|
@ -1,34 +0,0 @@
|
|||
MODULE vpkPackageFileParser;
|
||||
IMPORT
|
||||
vpkJsonParser,
|
||||
vpkFileManager,
|
||||
vpkHttp,
|
||||
vpkLogger,
|
||||
vpkDependencyResolver,
|
||||
vpkSettings;
|
||||
CONST
|
||||
MAXARRAYNUMBER = 1000;
|
||||
PROCEDURE install*;
|
||||
VAR
|
||||
jsonData: ARRAY MAXARRAYNUMBER OF CHAR;
|
||||
success: BOOLEAN;
|
||||
BEGIN
|
||||
vpkLogger.Log("Starting install process");
|
||||
success := vpkFileManager.Read(vpkSettings.packageFileName, jsonData);
|
||||
|
||||
IF ~success THEN vpkLogger.Log("Some ERROR occured while reading VERSIONFILE") END;
|
||||
ASSERT(success);
|
||||
|
||||
vpkLogger.Log("Starting resolving dependencies");
|
||||
|
||||
vpkDependencyResolver.ResolveVersionFiles(jsonData);
|
||||
vpkDependencyResolver.ResolvePackages();
|
||||
vpkLogger.Log("======================");
|
||||
vpkLogger.Log("======================");
|
||||
vpkLogger.Log("Installation complete");
|
||||
vpkLogger.Log("Thanks for using OPIUM!");
|
||||
END install;
|
||||
|
||||
BEGIN
|
||||
|
||||
END vpkPackageFileParser.
|
||||
Loading…
Add table
Add a link
Reference in a new issue