Expose project scripts and launch after building
This commit is contained in:
+1
-12
@@ -1,14 +1,3 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
configuration="${1:-Debug}"
|
||||
case "$configuration" in
|
||||
Debug|Release) ;;
|
||||
*) echo "Usage: $0 [Debug|Release]" >&2; exit 2 ;;
|
||||
esac
|
||||
base="${AISTUDIO_BUILD_ROOT:-/private/tmp/AIStudio-build-$(id -u)}"
|
||||
mkdir -p "$base"
|
||||
xcodebuild CODE_SIGN_IDENTITY=- CODE_SIGN_STYLE=Manual DEVELOPMENT_TEAM= -project AIStudio.xcodeproj -scheme AIStudio -configuration "$configuration" \
|
||||
-destination 'platform=macOS,arch=arm64' -derivedDataPath "$base/Derived" \
|
||||
-clonedSourcePackagesDirPath "$base/Packages" -disablePackageRepositoryCache build
|
||||
printf 'App: %s\n' "$base/Derived/Build/Products/$configuration/AIStudio.app"
|
||||
exec "$(dirname "$0")/../build.sh" "$@"
|
||||
|
||||
Reference in New Issue
Block a user