Stabilize rapid workspace switching handoff
This commit is contained in:
parent
a723bbaa6a
commit
7aa80b9cdc
7 changed files with 664 additions and 30 deletions
21
scripts/test-unit.sh
Executable file
21
scripts/test-unit.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
PROJECT="GhosttyTabs.xcodeproj"
|
||||
SCHEME="cmux-unit"
|
||||
CONFIGURATION="${CMUX_TEST_CONFIGURATION:-Debug}"
|
||||
DESTINATION="${CMUX_TEST_DESTINATION:-platform=macOS}"
|
||||
|
||||
# Default to `test` when no explicit xcodebuild action is provided.
|
||||
if [ "$#" -eq 0 ]; then
|
||||
set -- test
|
||||
fi
|
||||
|
||||
exec xcodebuild \
|
||||
-project "$PROJECT" \
|
||||
-scheme "$SCHEME" \
|
||||
-configuration "$CONFIGURATION" \
|
||||
-destination "$DESTINATION" \
|
||||
"$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue