mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-17 21:30:45 +02:00
ec12c42c54
# Conflicts: # Config/AppIdentifiers.xcconfig # Config/AppVersion.xcconfig # Podfile # Podfile.lock # Riot/Assets/de.lproj/Vector.strings # Riot/Generated/Images.swift # Riot/Modules/Analytics/DecryptionFailureTracker.m # Riot/Modules/Application/LegacyAppDelegate.h # Riot/Modules/Onboarding/OnboardingCoordinator.swift # Riot/Modules/Room/RoomInfo/RoomInfoList/RoomInfoListViewController.swift # Riot/Modules/Room/RoomViewController.m # Riot/SupportingFiles/Info.plist # Riot/Utils/EventFormatter.m # Riot/Utils/Tools.h # Riot/Utils/Tools.m # Riot/target.yml # RiotSwiftUI/Modules/Common/Mock/MockAppScreens.swift # fastlane/Fastfile # project.yml
98 lines
2.7 KiB
YAML
98 lines
2.7 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
|
|
|
|
targets:
|
|
Riot:
|
|
type: application
|
|
platform: iOS
|
|
|
|
dependencies:
|
|
- target: RiotShareExtension
|
|
- target: RiotNSE
|
|
- target: DesignKit
|
|
- target: CommonKit
|
|
# - package: Mapbox
|
|
- package: OrderedCollections
|
|
|
|
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 --treat-warnings-as-errors --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/**"
|
|
- "Room/LocationSharing/*"
|
|
- path: ../Tools
|
|
excludes:
|
|
- "Logs"
|
|
- "Release"
|
|
- "Templates/*.sh"
|
|
- path: ../Config
|
|
excludes:
|
|
- "beta"
|
|
- "bwi"
|
|
- path: .
|
|
excludes:
|
|
- "Modules/Room/EmojiPicker/Data/EmojiMart/EmojiJSONStore.swift"
|
|
- "Modules/Analytics/Test/Unit/BWIAnalyticsTests.swift"
|
|
- "**/*.strings" # Exclude all strings files
|
|
- "Modules/Room/Location/*"
|
|
- "Modules/Room/LocationSharing/*"
|
|
- "Modules/Room/Views/BubbleCells/Location/*"
|
|
- "Modules/Room/Views/BubbleCells/Styles/Bubble/Cells/Location/*"
|
|
- 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
|