Михаил Капелько 9 kuukautta sitten
vanhempi
commit
556b3c5879
2 muutettua tiedostoa jossa 5 lisäystä ja 3 poistoa
  1. +2
    -1
      Modules/MicX/MicItem/MicItem.yml
  2. +3
    -2
      Utilities/platform/5/generate

+ 2
- 1
Modules/MicX/MicItem/MicItem.yml Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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…
Peruuta
Tallenna