oficina / sheets Public

Clone
git clone https://amadan.net/oficina/sheets

Plain git — no account needed to clone.

Download

Download this file

1#!/bin/sh
2set -eu
3cd "$(dirname "$0")/.."
4if [ "${OFICINA_SKIP_PROJECT_GENERATION:-0}" != 1 ]; then xcodegen generate --spec ios/project.yml; fi
5case "${1:-simulator}" in
6simulator) xcodebuild -project ios/SheetsPhone.xcodeproj -scheme SheetsPhone -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' -derivedDataPath build/ios CODE_SIGNING_ALLOWED=NO build ;;
7device) : "${OFICINA_DEVELOPMENT_TEAM:?Set your Apple development team ID}"
8xcodebuild -project ios/SheetsPhone.xcodeproj -scheme SheetsPhone -destination 'generic/platform=iOS' -derivedDataPath build/device "DEVELOPMENT_TEAM=$OFICINA_DEVELOPMENT_TEAM" -allowProvisioningUpdates build ;;
9*) exit 2 ;;
10esac
11