mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
- 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>
12 lines
452 B
Bash
Executable file
12 lines
452 B
Bash
Executable file
#!/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"
|