Files
RememBerBer 907eaa4854 feat(next-macos-native): add independent native macOS app
Implement the SwiftUI and AppKit product through 0.6.0, including Electron-aligned workspaces, note image attachments, portable backups, and native layouts. Add independent packaging, CI, release notes, and verification records.

Validation: 48 core test groups, native interaction and fresh-launch checks, 76 view captures, 15 focused note layout checks, and verified Universal DMG.
2026-09-09 18:23:14 +08:00

14 lines
660 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
cd "$(dirname "$0")/.."
./scripts/check-toolchain.sh
swift build
native_bin=$(swift build --show-bin-path)
native_objects=()
while IFS= read -r -d '' native_object; do native_objects+=("$native_object"); done < <(find "$native_bin/MooToolNextCore.build" "$native_bin/Yams.build" "$native_bin/CYaml.build" -name '*.o' -print0)
swiftc -parse-as-library -D STANDALONE_CHECK \
-I "$native_bin/Modules" -I .build/checkouts/Yams/Sources/CYaml/include \
Tests/MooToolNextCoreTests/CoreTests.swift scripts/StandaloneTests.swift \
"${native_objects[@]}" -o "$native_bin/MooToolNativeCoreChecks"
"$native_bin/MooToolNativeCoreChecks"