Uh oh!
There was an error while loading. Please reload this page.
feat: add platform-cli-apple with reusable utilities for OOT platforms - #2208
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
98fa97f to
67ec2ffCompare283eac4 to
d572c25CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
89e7074 to
e19db37Comparee19db37 to
1d4d80eCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| export function getFallbackSimulator(args: FlagsT): Device { | ||
| /** | ||
| * If provided simulator does not exist, try simulators in following order | ||
| * - iPhone 14 | ||
| * - iPhone 13 | ||
| * - iPhone 12 | ||
| * - iPhone 11 | ||
| */ |
There was a problem hiding this comment.
Not really applicable for all apple platforms
There was a problem hiding this comment.
Yeah, it's used only on iOS - I don't want to remove it to introduce breaking changes
There was a problem hiding this comment.
Let's create a new issue to remove this
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| import execa from 'execa'; | ||
| import listIOSDevices from '../listIOSDevices'; | ||
| import listDevices from '../listDevices'; | ||
| import {getPlatformInfo} from '../../commands/runCommand/getPlatformInfo'; |
There was a problem hiding this comment.
Looks like this method is here by accident. Can we create a dedicated commands/runCommand/__tests__/getPlatformInfo.test.ts?
Uh oh!
There was an error while loading. Please reload this page.
thymikee
left a comment
There was a problem hiding this comment.
Left a few small things to address, overall LGTM and nice refactor
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
TMisiukiewicz
left a comment
There was a problem hiding this comment.
please check failing unit tests 👀
Summary:
The goal of this PR is to refactor most of
cli-platform-iostocli-platform-applewhich provides reusable utilities allowing OOT platforms to build their commands. Example:Test Plan:
CI Green
Checklist