Skip to content

Commit

Permalink
feat: merge buildOptions to runOptions (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
okwasniewski authored Dec 20, 2023
1 parent 99646d7 commit 91c64cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {getDefaultUserTerminal} from '@react-native-community/cli-tools';
import {buildOptions} from '../buildCommand/buildOptions';

export const runOptions = [
{
Expand Down Expand Up @@ -43,4 +44,5 @@ export const runOptions = [
name: '--udid <string>',
description: 'Explicitly set the device to use by UDID',
},
...buildOptions,
];
3 changes: 1 addition & 2 deletions packages/cli-platform-ios/src/commands/runIOS/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
*/

import {
buildOptions,
createRun,
runOptions,
} from '@react-native-community/cli-platform-apple';
Expand All @@ -30,5 +29,5 @@ export default {
cmd: 'npx react-native run-ios --simulator "Apple TV" --scheme "helloworld-tvOS"',
},
],
options: [...buildOptions, ...runOptions],
options: runOptions,
};

0 comments on commit 91c64cc

Please sign in to comment.