Files
Josh HoltzandClaude Opus 5.5 cf43b4a885 Bump CI to Ruby 3.3 (#7963)
* Bump CI to Ruby 3.3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Update fastlane-plugin-revenuecat_internal to latest main

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 11:28:28 -05:00

49 lines
1.6 KiB
TOML

[settings]
lockfile = true
[settings.ruby]
compile = false
[tools]
tuist = "4.48.2"
swiftlint = "0.62.2"
ruby = "3.3.0"
xcbeautify = "2.30.1"
[hooks]
postinstall = { task = "tuist-install" }
[tasks.tuist-install]
description = "Resolve Swift Package dependencies via Tuist"
run = "tuist install"
# Shell setup task (no automated test); verified manually via `mise run setup-worktree`.
[tasks.setup-worktree]
description = "Prepare a git worktree: link Local.xcconfig from the primary checkout and resolve deps. Run `tuist generate <Target>` afterwards."
depends = ["tuist-install"]
run = """
#!/usr/bin/env bash
set -euo pipefail
# The primary checkout is the parent of the shared .git directory.
primary="$(dirname "$(git rev-parse --git-common-dir)")"
current="$(git rev-parse --show-toplevel)"
# Local.xcconfig is gitignored and per-worktree. Link it from the primary
# checkout so every worktree shares one API key / config without hand-copying.
if [ "$current" != "$primary" ] && [ ! -e "Local.xcconfig" ]; then
# Clear a dangling symlink (e.g. the primary's Local.xcconfig moved) so ln/cp don't fail under set -e.
rm -f "Local.xcconfig"
if [ -f "$primary/Local.xcconfig" ]; then
ln -s "$primary/Local.xcconfig" "Local.xcconfig"
echo "Linked Local.xcconfig -> $primary/Local.xcconfig"
elif [ -f "Local.xcconfig.SAMPLE" ]; then
cp "Local.xcconfig.SAMPLE" "Local.xcconfig"
echo "WARNING: primary checkout has no Local.xcconfig; copied Local.xcconfig.SAMPLE. Fill in your API key."
else
echo "WARNING: no Local.xcconfig in the primary checkout and no Local.xcconfig.SAMPLE to copy."
fi
fi
"""