diff options
| author | Fuwn <[email protected]> | 2026-03-24 07:15:57 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-03-24 07:15:57 +0000 |
| commit | e05e5f05ae085e88b2df12266d9c168e7fc78ef5 (patch) | |
| tree | 6283b740a8420f464142bccfa234eb1c8b4aa1d7 /justfile | |
| parent | style(Sora): Run formatter (diff) | |
| download | sora-testing-e05e5f05ae085e88b2df12266d9c168e7fc78ef5.tar.xz sora-testing-e05e5f05ae085e88b2df12266d9c168e7fc78ef5.zip | |
test: fix verify with Nimble and simulator boot
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -35,6 +35,11 @@ localize destination="platform=macOS" configuration="Debug": xcodebuild -project Sora.xcodeproj -configuration {{configuration}} -scheme {{target}} -destination '{{destination}}' CODE_SIGNING_ALLOWED=NO build _test destination="platform=iOS Simulator,name=iPhone 17 Pro" scheme="SoraTests" configuration="Debug" *xcodebuild_args: + simulator_name="$(printf '%s\n' '{{destination}}' | sed -n "s/.*name=\\([^,']*\\).*/\\1/p")"; \ + if [ -n "${simulator_name}" ]; then \ + xcrun simctl boot "${simulator_name}" >/dev/null 2>&1 || true; \ + xcrun simctl bootstatus "${simulator_name}" -b; \ + fi xcodebuild -project Sora.xcodeproj -configuration {{configuration}} -scheme {{scheme}} -destination '{{destination}}' {{xcodebuild_args}} test test destination="platform=iOS Simulator,name=iPhone 17 Pro" scheme="SoraTests" configuration="Debug": |