High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(mobile): add Cocoapods to mise (#30722)
Adam Gastineau610bcfa6d09e
diff --git a/.github/workflows/build-mobile.yml b/.github/workflows/build-mobile.ymlindex b2ba244ab9..6a9a01d41d 100644--- a/.github/workflows/build-mobile.yml+++ b/.github/workflows/build-mobile.yml@@ -225,6 +225,13 @@ jobs:github_token: ${{ steps.token.outputs.token }}working_directory: ./mobile+ - name: Setup Ruby+ uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0+ with:+ ruby-version: '3.3'+ bundler-cache: true+ working-directory: ./mobile/ios+- name: Install dependenciesrun: mise //mobile:install:ci@@ -235,18 +242,6 @@ jobs:working-directory: ./mobilerun: flutter build ios --config-only --no-codesign- - name: Setup Ruby- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0- with:- ruby-version: '3.3'- bundler-cache: true- working-directory: ./mobile/ios-- - name: Install CocoaPods dependencies- working-directory: ./mobile/ios- run: |- pod install-- name: Create API Keyenv:API_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}diff --git a/mobile/mise.toml b/mobile/mise.tomlindex 08a26c0c3b..f021cd8747 100644--- a/mobile/mise.toml+++ b/mobile/mise.toml@@ -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