mirror of
https://github.com/vishapoberon/vipak.git
synced 2026-04-05 20:42:26 +00:00
created install function
This commit is contained in:
parent
83ebcf1b6e
commit
654ca13405
3 changed files with 16 additions and 4 deletions
|
|
@ -1,6 +1,13 @@
|
|||
MODULE PackageFileParser;
|
||||
IMPORT
|
||||
JsonParser
|
||||
JsonParser,
|
||||
Logger;
|
||||
|
||||
PROCEDURE install*;
|
||||
BEGIN
|
||||
Logger.Log("Starting install process");
|
||||
END install;
|
||||
|
||||
BEGIN
|
||||
|
||||
END PackageFileParser.
|
||||
1
makefile
1
makefile
|
|
@ -10,6 +10,7 @@ all:
|
|||
../diaspora2hugo/src/lists/List.Mod \
|
||||
../CharacterStack.Mod \
|
||||
../JsonParser.Mod \
|
||||
../PackageFileParser.Mod \
|
||||
../opium.Mod -m
|
||||
|
||||
clean:
|
||||
|
|
|
|||
10
opium.Mod
10
opium.Mod
|
|
@ -23,7 +23,11 @@ BEGIN
|
|||
END parseArgs;
|
||||
|
||||
BEGIN
|
||||
IF Strings.Match(command, "") THEN help
|
||||
ELSE IF Strings.Match(command, "install") THEN PackageFileParser.install END;
|
||||
|
||||
parseArgs(command);
|
||||
|
||||
IF Strings.Match(command, "") THEN
|
||||
help;
|
||||
ELSIF Strings.Match(command, "install") THEN
|
||||
PackageFileParser.install();
|
||||
END;
|
||||
END opium.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue