chore(mobile): add Cocoapods to mise (#30722)

* chore(mobile): add Cocoapods to mise

* Use new mise setup in CI
This commit is contained in:
Adam Gastineau 2026-08-12 04:53:14 -07:00 committed by GitHub
parent 0344c61e4c
commit 610bcfa6d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 26 additions and 14 deletions

View file

@ -29,7 +29,7 @@ sources = [
]
outputs = { auto = true }
run = [
"dart run build_runner build",
"dart run build_runner build",
"dart format lib/routing/router.gr.dart",
]
depends = ["//:open-api-dart"]
@ -99,7 +99,11 @@ run = "dart run drift_dev make-migrations"
alias = "install"
description = "Install flutter dependencies"
depends = ["//:open-api-dart"]
run = "flutter pub get"
run = [
# This receives passed `--enforce-lockfile` args
"flutter pub get",
{ task = "install:ios" },
]
[tasks."install:ci"]
description = "Install flutter dependencies in CI"
@ -132,6 +136,19 @@ run = [
]
wait_for = ["//:i18n:format-fix"]
[tasks."install:ios"]
description = "Install CocoaPods dependencies"
hide = true
sources = ["ios/Podfile", "ios/Podfile.lock", ".flutter-plugin-dependencies"]
outputs = ["ios/Pods/Manifest.lock"]
run = '''
echo "Running pod install"
if [ "$(uname)" != "Darwin" ]; then
exit 0
fi
cd ios && pod install
'''
[tasks."analyze:dart"]
description = "Run Dart analysis"
hide = true