From 556b3c5879cd309e0ffeaa1038d584b56ab03803 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, 8 Feb 2024 18:03:29 +0300 Subject: [PATCH] d --- Modules/MicX/MicItem/MicItem.yml | 3 ++- Utilities/platform/5/generate | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Modules/MicX/MicItem/MicItem.yml b/Modules/MicX/MicItem/MicItem.yml index 14a157b..f9e097e 100644 --- a/Modules/MicX/MicItem/MicItem.yml +++ b/Modules/MicX/MicItem/MicItem.yml @@ -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] diff --git a/Utilities/platform/5/generate b/Utilities/platform/5/generate index 946a87a..d5d27b7 100755 --- a/Utilities/platform/5/generate +++ b/Utilities/platform/5/generate @@ -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)