From 93181f57a7bb75e28f0e4782991c1db9725f8335 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Thu, 1 Feb 2024 18:23:44 +0300 Subject: [PATCH] d --- Utilities/platform/5/Item.py | 1 + Utilities/platform/5/fileToItems.py | 1 + Utilities/platform/5/gen5.py | 1 - Utilities/platform/5/generate | 5 +++-- Utilities/platform/5/itemsToContents.py | 1 + Utilities/platform/5/process.py | 1 + Utilities/platform/5/templates | 1 + 7 files changed, 8 insertions(+), 3 deletions(-) create mode 120000 Utilities/platform/5/Item.py create mode 120000 Utilities/platform/5/fileToItems.py delete mode 120000 Utilities/platform/5/gen5.py create mode 120000 Utilities/platform/5/itemsToContents.py create mode 120000 Utilities/platform/5/process.py create mode 120000 Utilities/platform/5/templates diff --git a/Utilities/platform/5/Item.py b/Utilities/platform/5/Item.py new file mode 120000 index 0000000..6be0968 --- /dev/null +++ b/Utilities/platform/5/Item.py @@ -0,0 +1 @@ +/Users/mk/m/u/Utilities/platform/5/Item.py \ No newline at end of file diff --git a/Utilities/platform/5/fileToItems.py b/Utilities/platform/5/fileToItems.py new file mode 120000 index 0000000..697eb97 --- /dev/null +++ b/Utilities/platform/5/fileToItems.py @@ -0,0 +1 @@ +/Users/mk/m/u/Utilities/platform/5/fileToItems.py \ No newline at end of file diff --git a/Utilities/platform/5/gen5.py b/Utilities/platform/5/gen5.py deleted file mode 120000 index 27b874b..0000000 --- a/Utilities/platform/5/gen5.py +++ /dev/null @@ -1 +0,0 @@ -/Users/mk/m/u/Utilities/platform/5/gen5.py \ No newline at end of file diff --git a/Utilities/platform/5/generate b/Utilities/platform/5/generate index dc0f503..479b553 100755 --- a/Utilities/platform/5/generate +++ b/Utilities/platform/5/generate @@ -1,7 +1,7 @@ #!/usr/bin/env python3 import os import sys -from gen5 import * +from process import * DIR = os.path.dirname(os.path.realpath(sys.argv[0])) @@ -14,6 +14,7 @@ if len(sys.argv) < 2: sys.path.append(f"{DIR}/../common") from modulePaths import * from readFile import * +from readKeyValue import * (PATH, MODULE) = modulePaths(sys.argv[1]) @@ -23,4 +24,4 @@ FILE_IN = f"{DIR}/../../../Modules/{PATH}/{MODULE}.yml" DIR_OUT = f"{DIR}/../../../Modules/{PATH}/src/" FILE_OUT = os.path.join(DIR_OUT, f"{MODULE}.Generated.swift") -gen5(DIR, DIR_OUT, FILE_IN, FILE_OUT, MODULE, PATH, readFile) +process(DIR, DIR_OUT, FILE_IN, FILE_OUT, MODULE, PATH, readFile, readKeyValue) diff --git a/Utilities/platform/5/itemsToContents.py b/Utilities/platform/5/itemsToContents.py new file mode 120000 index 0000000..dd39327 --- /dev/null +++ b/Utilities/platform/5/itemsToContents.py @@ -0,0 +1 @@ +/Users/mk/m/u/Utilities/platform/5/itemsToContents.py \ No newline at end of file diff --git a/Utilities/platform/5/process.py b/Utilities/platform/5/process.py new file mode 120000 index 0000000..d398083 --- /dev/null +++ b/Utilities/platform/5/process.py @@ -0,0 +1 @@ +/Users/mk/m/u/Utilities/platform/5/process.py \ No newline at end of file diff --git a/Utilities/platform/5/templates b/Utilities/platform/5/templates new file mode 120000 index 0000000..7901921 --- /dev/null +++ b/Utilities/platform/5/templates @@ -0,0 +1 @@ +/Users/mk/m/u/Utilities/platform/5/templates \ No newline at end of file