Document setup and rendering, add app build and settings tests
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
swift build -c release
|
||||
bin_dir="$(swift build -c release --show-bin-path)"
|
||||
app="build/GrowthLapse.app"
|
||||
mkdir -p "$app/Contents/MacOS" "$app/Contents/Resources"
|
||||
cp "$bin_dir/GrowthLapse" "$app/Contents/MacOS/GrowthLapse"
|
||||
cp dist/GrowthLapse.app/Contents/Info.plist "$app/Contents/Info.plist"
|
||||
cp dist/GrowthLapse.app/Contents/Resources/GrowthLapse.icns "$app/Contents/Resources/GrowthLapse.icns"
|
||||
codesign --force --deep --sign - "$app"
|
||||
printf 'App erstellt: %s/%s\n' "$PWD" "$app"
|
||||
Reference in New Issue
Block a user