Make rendering failure-safe and project editing reproducible

This commit is contained in:
Mikei386
2026-09-13 09:20:37 +02:00
parent c530fe025a
commit 73961f6afe
13 changed files with 1019 additions and 212 deletions
+1 -1
View File
@@ -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"
+12
View File
@@ -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