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