Files
bundesmessenger-ios/Riot/target.yml
JanNiklas Grabowski 6c22fa37f1 Merge commit '56d9e1f6a55a93dc71149ae429eaa615a98de0d5' into feature/6076_foss_merge
* commit '56d9e1f6a55a93dc71149ae429eaa615a98de0d5': (79 commits)
  finish version++
  version++
  Translated using Weblate (Hungarian)
  Translated using Weblate (Italian)
  Translated using Weblate (Ukrainian)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Slovak)
  Translated using Weblate (Swedish)
  Translated using Weblate (Indonesian)
  Translated using Weblate (Albanian)
  Translated using Weblate (Estonian)
  Translated using Weblate (Estonian)
  updated the submodule
  updated SDK
  Update the SDK. (#7819)
  Prepare for new sprint
  finish version++
  version++
  fix
  Changelog.
  ...

# Conflicts:
#	Config/AppVersion.xcconfig
#	Podfile
#	Podfile.lock
#	Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	Riot/Managers/Settings/RiotSettings.swift
#	Riot/Modules/Analytics/Analytics.swift
#	Riot/Modules/Analytics/DecryptionFailure.swift
#	Riot/Modules/Analytics/PHGPostHogConfiguration.swift
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewAction.swift
#	Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewModel.swift
#	Riot/Modules/Room/Views/Title/Preview/PreviewRoomTitleView.m
#	Riot/Modules/Settings/SettingsViewController.m
#	Riot/Utils/EventFormatter.m
#	Riot/Utils/Tools.m
#	RiotNSE/target.yml
#	fastlane/Fastfile
#	project.yml
2024-08-19 12:52:38 +02:00

102 lines
2.8 KiB
YAML

name: Riot
schemes:
Riot:
analyze:
config: Debug
archive:
config: Release
build:
targets:
Riot:
- running
- profiling
- analyzing
- archiving
profile:
config: Release
run:
config: Debug
disableMainThreadChecker: true
targets:
Riot:
type: application
platform: iOS
dependencies:
# Disabled due to crypto corruption issues.
# https://github.com/element-hq/element-ios/issues/7618
# - target: RiotShareExtension
# - target: SiriIntents // BWI: disabled
- target: RiotNSE
- target: BroadcastUploadExtension
- target: DesignKit
- target: CommonKit
- package: AnalyticsEvents
- package: Mapbox
- package: OrderedCollections
- package: SwiftOGG
- package: Lottie
- package: WysiwygComposer
- package: DeviceKit
- package: DTCoreText
- package: PostHog
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"
- "BuM-Open"
- "BuM-BWI-MDM"
- "*.sh"
- path: .
excludes:
- "Modules/Room/EmojiPicker/Data/EmojiMart/EmojiJSONStore.swift"
- "Modules/Analytics/Test/Unit/BWIAnalyticsTests.swift"
- "**/*.strings" # Exclude all strings files
- "Modules/Integrations/Widgets/Jitsi/*"
- 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