Something went wrong. Try again.
An auto tiler for macOS
Something went wrong. Try again.
123456789101112131415161718192021#!/bin/bashset -euo pipefailcd "$(dirname "$0")/.."IFS= read -r want < .xcode-versionxcode=$(xcodebuild -version)swift_version=$(swift --version)printf '%s\n%s\n' "$xcode" "$swift_version"if ! grep -Fxq "Xcode $want" <<< "$xcode"; then printf 'Need Xcode %s; select it with xcode-select or DEVELOPER_DIR.\n' "$want" >&2 exit 1fiif ! grep -Eq 'Swift version 6\.2\.' <<< "$swift_version"; then printf 'Need the Swift 6.2 toolchain shipped with the pinned Xcode.\n' >&2 exit 1fifor tool in mise lefthook shellcheck actionlint zizmor gitleaks gh; do command -v "$tool" >/dev/null || { printf 'Missing %s; run mise run setup.\n' "$tool" >&2; exit 1; }doneScripts/swift-build.sh --prepareprintf 'Xcode, Swift, and development tools are ready.\n'