rename snaggle
This commit is contained in:
Executable → Regular
+4
-4
@@ -1,17 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
# Builds GreenshotMac and drops the .app in build/Release.
|
||||
# Builds Snaggle and drops the .app in build/Release.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
xcodebuild \
|
||||
-project GreenshotMac.xcodeproj \
|
||||
-scheme GreenshotMac \
|
||||
-project Snaggle.xcodeproj \
|
||||
-scheme Snaggle \
|
||||
-configuration "${1:-Release}" \
|
||||
-destination 'platform=macOS,arch=arm64' \
|
||||
-derivedDataPath build/DerivedData \
|
||||
build
|
||||
|
||||
APP="build/DerivedData/Build/Products/${1:-Release}/GreenshotMac.app"
|
||||
APP="build/DerivedData/Build/Products/${1:-Release}/Snaggle.app"
|
||||
echo
|
||||
echo "Built: $APP"
|
||||
echo "Run it with: open \"$APP\""
|
||||
|
||||
Reference in New Issue
Block a user