CI / ci (push) Canceled after 0s
- ProsePresenter: line-kind markdown→attributes (serif body 17pt, H1/H2/H3 26/21/18pt bold, dimmed mono syntax, paragraph spacing), whitespace-tolerant quote-anchor search - EditorPane: NSViewRepresentable NSTextView, per-paragraph reattribute on edit, undo, non-contiguous layout, 640pt measure - SpikeApp: Reading toggle (inline md render), anchor/stale-anchor demo, exact web-proto alert wording, --check self-test - run.sh wraps SPM binary in .app (bare executables show no windows) - assets/: verification screenshots Wayfinder map #16 — throwaway spike, not for main.
25 lines
1.0 KiB
Bash
Executable File
25 lines
1.0 KiB
Bash
Executable File
#!/bin/zsh
|
|
# ponytail: wrap the SPM binary in a minimal .app — SwiftUI needs a bundle to make windows.
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
swift build 2>&1 | tail -1
|
|
APP=.build/TextKit2Spike.app
|
|
rm -rf "$APP" && mkdir -p "$APP/Contents/MacOS"
|
|
cp .build/out/Products/Debug/TextKit2Spike "$APP/Contents/MacOS/"
|
|
cat > "$APP/Contents/Info.plist" <<'PLIST'
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleExecutable</key><string>TextKit2Spike</string>
|
|
<key>CFBundleIdentifier</key><string>de.babylondreams.museion.spike-b</string>
|
|
<key>CFBundleName</key><string>Spike B — TextKit2</string>
|
|
<key>CFBundlePackageType</key><string>APPL</string>
|
|
<key>LSMinimumSystemVersion</key><string>26.0</string>
|
|
<key>NSHighResolutionCapable</key><true/>
|
|
</dict>
|
|
</plist>
|
|
PLIST
|
|
echo "built: $APP"
|
|
exec "$APP/Contents/MacOS/TextKit2Spike" "${@:-../../prose/the-expected-value-of-showing.md}"
|