compiles, needs some cleanup

This commit is contained in:
Norayr Chilingarian 2020-05-08 03:35:36 +04:00
parent 6011d9d401
commit 82d79b4647
7 changed files with 153 additions and 167 deletions

View file

@ -1,8 +1,24 @@
MODULE vpkSettings;
IMPORT Platform, Out;
CONST
packageFileName* = "VersionFile.json";
host* = "localhost";
port* = "80";
installPath* = "dependencies";
quote* = '"';
vpkConfDir* = ".vipack";
vpkConfFile* = "vipackConf.json";
vpkTreeDir* = "vipackTree";
treeURL* = "https://github.com/vishaps/vipackTree";
confTypGit* = "git";
confType* = "type";
confTermPath* = "path";
packageFileName* = "VersionFile.json";
host* = "localhost";
port* = "80";
installPath* = "dependencies";
PROCEDURE getHome*(VAR path: ARRAY OF CHAR);
BEGIN
IF ~(Platform.getEnv("HOME", path)) THEN
Out.String("HOME variable is not found"); Out.Ln;
HALT(1);
END;
END getHome;
END vpkSettings.