Make rendering failure-safe and project editing reproducible
This commit is contained in:
@@ -7,7 +7,7 @@ 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 Resources/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"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
mkdir -p .build/integration
|
||||
swiftc -parse-as-library \
|
||||
Sources/GrowthLapse/RenderSettings.swift \
|
||||
Sources/GrowthLapse/RenderWorkspace.swift \
|
||||
Sources/GrowthLapse/FFmpegService.swift \
|
||||
Sources/GrowthLapse/VideoProcessor.swift \
|
||||
Tests/Integration/RenderIntegration.swift \
|
||||
-o .build/integration/render-tests
|
||||
.build/integration/render-tests
|
||||
Reference in New Issue
Block a user