yaml proper indentation

This commit is contained in:
Paolo Marrone 2024-07-08 17:37:58 +02:00
parent 75585f3d48
commit 693730ea69

View File

@ -20,41 +20,43 @@
name: {{=it.product.bundleName}} name: {{=it.product.bundleName}}
targets: targets:
{{=it.product.bundleName}}: {{=it.product.bundleName}}:
{{?it.ios_make.supportedDestinations}} {{?it.ios_make.supportedDestinations}}
supportedDestinations: {{=Array.isArray(it.ios_make.supportedDestinations) ? "[" + it.ios_make.supportedDestinations.toString() + "]" : it.ios_make.supportedDestinations}} supportedDestinations: {{=Array.isArray(it.ios_make.supportedDestinations) ? "[" + it.ios_make.supportedDestinations.toString() + "]" : it.ios_make.supportedDestinations}}
{{??}} {{??}}
platform: [iOS] platform: [iOS]
{{?}} {{?}}
deploymentTarget: "{{=it.ios_make.deploymentTarget}}" deploymentTarget: "{{=it.ios_make.deploymentTarget}}"
type: application type: application
sources: sources:
- path: src - path: src
dependencies: {{?it.ios_make.dependencies}}
dependencies: {{~it.ios_make.dependencies :d}}
settings: - target: {{=d}}{{~}}
base: {{?}}
PRODUCT_BUNDLE_IDENTIFIER: {{=it.ios.productBundleIdentifier}} settings:
SWIFT_OBJC_BRIDGING_HEADER: src/app-Bridging-Header.h base:
PRODUCT_BUNDLE_IDENTIFIER: {{=it.ios.productBundleIdentifier}}
SWIFT_OBJC_BRIDGING_HEADER: src/app-Bridging-Header.h
{{?it.ios_make.headerSearchPaths}} {{?it.ios_make.headerSearchPaths}}
HEADER_SEARCH_PATHS: {{~it.ios_make.headerSearchPaths :p}} HEADER_SEARCH_PATHS: {{~it.ios_make.headerSearchPaths :p}}
- {{=p}}{{~}} - {{=p}}{{~}}
{{?}} {{?}}
info: info:
path: Info.plist path: Info.plist
{{?(it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0) || it.ios_make.infoProperties || it.ios_make.uiLaunchScreen}} {{?(it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0) || it.ios_make.infoProperties || it.ios_make.uiLaunchScreen}}
properties: properties:
{{?it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0}} {{?it.product.buses.filter(x => x.type == "audio" && x.direction == "input").length > 0}}
NSMicrophoneUsageDescription: Need audio input for processing sound NSMicrophoneUsageDescription: Need audio input for processing sound
{{?}} {{?}}
{{?it.ios_make.infoProperties}} {{?it.ios_make.infoProperties}}
{{~it.ios_make.infoProperties :p}} {{~it.ios_make.infoProperties :p}}
{{=p.key}}: {{=Array.isArray(p.value) ? "[" + p.value.toString() + "]" : p.value}} {{=p.key}}: {{=Array.isArray(p.value) ? "[" + p.value.toString() + "]" : p.value}}
{{~}} {{~}}
{{?}} {{?}}
{{?it.ios_make.launchScreen}} {{?it.ios_make.launchScreen}}
UILaunchScreen: UILaunchScreen:
UIColorName: {{=it.ios_make.launchScreen.colorName}} UIColorName: {{=it.ios_make.launchScreen.colorName}}
UIImageName: {{=it.ios_make.launchScreen.imageName}} UIImageName: {{=it.ios_make.launchScreen.imageName}}
{{?}} {{?}}
{{?}} {{?}}