2021-04-21 17:58:36 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -eo pipefail
|
|
|
|
|
|
|
|
# build with SwiftPM:
|
|
|
|
# https://developer.apple.com/documentation/swift_packages/building_swift_packages_or_apps_that_use_them_in_continuous_integration_workflows
|
|
|
|
|
|
|
|
xcodebuild -workspace Mastodon.xcworkspace \
|
|
|
|
-scheme Mastodon \
|
2022-10-09 14:30:10 +02:00
|
|
|
-destination "platform=iOS Simulator,name=iPhone SE (2nd generation)" \
|
2021-04-21 17:58:36 +02:00
|
|
|
clean \
|
2022-01-04 11:30:59 +01:00
|
|
|
build | xcpretty
|