Files
bundesmessenger-ios/Riot/target.yml
T
Frank Rotermund f4ca302faa Merge commit 'ace42be63764c1f1aec82d6e3448ca8980adc784' into feature/3746_merge_element_1.9.10
# Conflicts:
#	Config/AppConfiguration.swift
#	Config/AppVersion.xcconfig
#	Podfile.lock
#	Riot/Modules/Application/AppCoordinator.swift
#	Riot/Modules/Common/Avatar/AvatarView.swift
#	Riot/Modules/Room/TimelineCells/Styles/Bubble/BubbleRoomTimelineCellProvider.m
#	Riot/Modules/Room/TimelineCells/Styles/Plain/PlainRoomTimelineCellProvider.m
#	Riot/Modules/Settings/Security/SecurityViewController.m
#	Riot/Modules/Settings/SettingsViewController.m
#	Riot/Modules/TabBar/TabBarCoordinator.swift
#	Riot/target.yml
#	fastlane/Fastfile
#	project.yml
2022-11-02 14:05:36 +01:00

102 lines
2.6 KiB
YAML

name: Riot
schemes:
Riot:
analyze:
config: Debug
archive:
config: Release
build:
targets:
Riot:
- running
- testing
- profiling
- analyzing
- archiving
profile:
config: Release
run:
config: Debug
disableMainThreadChecker: true
test:
config: Debug
disableMainThreadChecker: true
targets:
- RiotTests
gatherCoverageData: true
coverageTargets:
- Riot
targets:
Riot:
type: application
platform: iOS
dependencies:
- target: RiotShareExtension
# - target: SiriIntents
- target: RiotNSE
- target: DesignKit
- target: CommonKit
- package: Mapbox
- package: OrderedCollections
- package: SwiftOGG
- package: Lottie
- package: WysiwygComposer
- package: DeviceKit
configFiles:
Debug: Debug.xcconfig
Release: Release.xcconfig
preBuildScripts:
- name: ⚠️ SwiftLint
runOnlyWhenInstalling: false
shell: /bin/sh
script: "\"${PODS_ROOT}/SwiftLint/swiftlint\"\n"
- name: 🛠 SwiftGen
runOnlyWhenInstalling: false
shell: /bin/sh
script: "\"${PODS_ROOT}/SwiftGen/bin/swiftgen\" config run --config \"Tools/SwiftGen/swiftgen-config.yml\"\n"
- name: 📖 locheck
runOnlyWhenInstalling: false
shell: /bin/sh
script: |
# homebrew uses a non-standard directory on M1
if [[ $(arch) = arm64 ]]; then export PATH="$PATH:/opt/homebrew/bin"; fi
xcrun --sdk macosx mint run Asana/locheck@0.9.6 discoverlproj --ignore-missing --ignore lproj_file_missing_from_translation "$PROJECT_DIR/Riot/Assets"
sources:
- path: ../RiotSwiftUI/Modules
# Riot will provide it's own LocaleProviderType so exclude.
excludes:
- "Common/Locale/LocaleProvider.swift"
- "**/Test/**"
- path: ../Tools
excludes:
- "Logs"
- "Release"
- "Templates/*.sh"
- path: ../Config
excludes:
- "beta"
- "bwi"
- "BuM-Beta"
- "*.sh"
- path: .
excludes:
- "Modules/Room/EmojiPicker/Data/EmojiMart/EmojiJSONStore.swift"
- "Modules/Analytics/Test/Unit/BWIAnalyticsTests.swift"
- "**/*.strings" # Exclude all strings files
- path: ../bwi
excludes:
- "Tests"
- "Assets/ar.lproj/**" # RTL is broken so languages are disabled for now
- "Assets/he.lproj/**"
- "Assets/pr.lproj/**" # Unsupported language on iOS
- path: ../RiotShareExtension/Shared
- path: Modules/MatrixKit
excludes:
- "**/*.md" # excludes all files with the .md extension