mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
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.
14 lines
660 B
Bash
Executable File
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"
|