Initial commit: Conjuga Spanish conjugation app
Includes SwiftData dual-store architecture (local reference + CloudKit user data), JSON-based data seeding, 20 tense guides, 20 grammar notes, SRS review system, course vocabulary, and widget support. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
14
Conjuga/Scripts/build_store.swift
Normal file
14
Conjuga/Scripts/build_store.swift
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env swift
|
||||
|
||||
// Run this script to generate a pre-built SwiftData store (default.store)
|
||||
// that ships with the app bundle. No first-launch seeding needed.
|
||||
|
||||
import Foundation
|
||||
import SwiftData
|
||||
|
||||
// We can't easily run this as a standalone script because it needs
|
||||
// the @Model types compiled. Instead, we'll build it as part of the app.
|
||||
// See DataLoader.buildPreloadedStore() below.
|
||||
|
||||
print("Use DataLoader.buildPreloadedStore() from within the app to generate the store.")
|
||||
print("Then copy the .store file to the bundle.")
|
||||
Reference in New Issue
Block a user