Михаил Капелько 10 months ago
parent
commit
556b3c5879
2 changed files with 5 additions and 3 deletions
  1. +2
    -1
      Modules/MicX/MicItem/MicItem.yml
  2. +3
    -2
      Utilities/platform/5/generate

+ 2
- 1
Modules/MicX/MicItem/MicItem.yml View File

@@ -3,7 +3,8 @@ version: 5
activityDates: [Date?, nil, recent]
timeout: [Bool, false, toggle]

test1: [Bool, false, exRecent]
reallyTest1: [Bool, false, exRecent]
exReallyTest1: [Bool?, nil, set]
test2: [Bool, false, set]
test3: [Bool, false, toggleNil]
test4: [Bool, false, exrecent, K]


+ 3
- 2
Utilities/platform/5/generate View File

@@ -15,13 +15,14 @@ sys.path.append(f"{DIR}/../common")
from modulePaths import *
from readFile import *
from readKeyValue import *
from shortenName import *

(PATH, MODULE) = modulePaths(sys.argv[1])

print(f"Генерируем платформу для модуля '{PATH}'...")
print(f"Генерируем платформу-5 для модуля '{PATH}'...")

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

process(DIR, DIR_OUT, FILE_IN, FILE_OUT, MODULE, PATH, readFile, readKeyValue)
process(DIR, DIR_OUT, FILE_IN, FILE_OUT, MODULE, PATH, readFile, readKeyValue, shortenName)

Loading…
Cancel
Save