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