|
|
@@ -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) |