Skip to content

Commit

Permalink
Use the same format as Ruby's YAML output. (#2992)
Browse files Browse the repository at this point in the history
(But leave the whitespace/comments in place).
  • Loading branch information
pixlwave authored Jul 2, 2024
1 parent dac363c commit 2dfc7b9
Showing 1 changed file with 42 additions and 26 deletions.
68 changes: 42 additions & 26 deletions project.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,60 @@
---
name: ElementX
attributes:
ORGANIZATIONNAME: Element

fileGroups:
- project.yml
- project.yml

options:
groupSortPosition: bottom
createIntermediateGroups: true
deploymentTarget:
iOS: "16.4"
macOS: "13.3"
iOS: '16.4'
macOS: '13.3'
groupOrdering:
- order: [ElementX, UnitTests, UITests, IntegrationTests, Tools]
- pattern: ElementX
order: [Sources, Resources, SupportingFiles]
- pattern: Sources
order: [Application, UserSession, Services, FlowCoordinators, Screens, Other, UITests]
- order:
- ElementX
- UnitTests
- UITests
- IntegrationTests
- Tools
- pattern: ElementX
order:
- Sources
- Resources
- SupportingFiles
- pattern: Sources
order:
- Application
- UserSession
- Services
- FlowCoordinators
- Screens
- Other
- UITests
postGenCommand: cd Tools/XcodeGen && sh postGenCommand.sh

settings:
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: YES
ENABLE_BITCODE: NO
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED: true
ENABLE_BITCODE: false
APP_GROUP_IDENTIFIER: group.$(BASE_APP_GROUP_IDENTIFIER)
APP_NAME: ElementX
KEYCHAIN_ACCESS_GROUP_IDENTIFIER: $(AppIdentifierPrefix)$(BASE_BUNDLE_IDENTIFIER)
KEYCHAIN_ACCESS_GROUP_IDENTIFIER: "$(AppIdentifierPrefix)$(BASE_BUNDLE_IDENTIFIER)"
MARKETING_VERSION: 1.6.13
CURRENT_PROJECT_VERSION: 1
SUPPORTS_MACCATALYST: NO
SUPPORTS_MACCATALYST: false

include:
- path: app.yml
- path: ElementX/SupportingFiles/target.yml
- path: UnitTests/SupportingFiles/target.yml
- path: PreviewTests/SupportingFiles/target.yml
- path: UITests/SupportingFiles/target.yml
- path: IntegrationTests/SupportingFiles/target.yml
- path: NSE/SupportingFiles/target.yml
# not used yet
# - path: NCE/SupportingFiles/target.yml
- path: app.yml
- path: ElementX/SupportingFiles/target.yml
- path: UnitTests/SupportingFiles/target.yml
- path: PreviewTests/SupportingFiles/target.yml
- path: UITests/SupportingFiles/target.yml
- path: IntegrationTests/SupportingFiles/target.yml
- path: NSE/SupportingFiles/target.yml
# - path: NCE/SupportingFiles/target.yml (not used yet)
# - path: MyAppVariant/override.yml

packages:
# Element/Matrix dependencies
Expand Down Expand Up @@ -128,8 +144,8 @@ packages:
aggregateTargets:
Periphery:
buildScripts:
- name: "Scan"
script: |
export PATH="$PATH:/opt/homebrew/bin"
periphery scan --format xcode
basedOnDependencyAnalysis: false
- name: Scan
script: |
export PATH="$PATH:/opt/homebrew/bin"
periphery scan --format xcode
basedOnDependencyAnalysis: false

0 comments on commit 2dfc7b9

Please sign in to comment.