mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Build all apps from Markdown content; Compose Desktop replaces GTK on Linux and Windows
- content/ + scripts/build-content.py produce content.json for every app - stable lesson IDs with one-time progress migration (Swift, Kotlin) - shared answer-check tests (tests/answers.json) for Kotlin and Swift - android/desktop: Compose app with updater, speech and GTK progress import - CI packages AppImage and Windows zip with ProGuard, runs the tests Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
b324496334
commit
c3bc32113b
964 changed files with 57285 additions and 1156 deletions
12
scripts/test-answers-swift.sh
Executable file
12
scripts/test-answers-swift.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
# Shared answer-check cases (tests/answers.json) against the Swift apps' code.
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
OUT="$ROOT/build/tests"
|
||||
mkdir -p "$OUT"
|
||||
|
||||
python3 "$ROOT/scripts/build-content.py" --out "$OUT/content.json"
|
||||
xcrun swiftc -O -o "$OUT/swift-answers" \
|
||||
"$ROOT/ios/Graduately/Data/Answers.swift" "$ROOT/tests/swift/main.swift"
|
||||
"$OUT/swift-answers" "$ROOT/tests/answers.json" "$OUT/content.json"
|
||||
Loading…
Add table
Add a link
Reference in a new issue