mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
chore(mobile): add Cocoapods to mise (#30722)
* chore(mobile): add Cocoapods to mise * Use new mise setup in CI
This commit is contained in:
parent
0344c61e4c
commit
610bcfa6d0
2 changed files with 26 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue