microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
src/extension/launchArgs.ts
34lines · modeblame
fb2bae06Daniel10 years ago | 1 | // Copyright (c) Microsoft Corporation. All rights reserved. |
| 2 | // Licensed under the MIT license. See LICENSE file in the project root for details. | |
| 3 | | |
| 4 | /** | |
| 5 | * Defines the supported launch arguments. | |
| 6 | * Add more arguments here as needed. | |
| 7 | */ | |
acf08bc2dlebu10 years ago | 8 | export interface ILaunchArgs { |
5c8365a6Artem Egorov8 years ago | 9 | platform: string; |
2e432a9eArtem Egorov8 years ago | 10 | workspaceRoot: string; |
0db0be15Artem Egorov8 years ago | 11 | projectRoot: string; |
8022afdfVladimir Kotikov8 years ago | 12 | target?: "simulator" | "device"; |
5547a16fJimmy Thomson10 years ago | 13 | debugAdapterPort?: number; |
710f8655digeff10 years ago | 14 | logCatArguments?: any; |
5e651f3edigeff10 years ago | 15 | packagerPort?: any; |
0db0be15Artem Egorov8 years ago | 16 | runArguments?: string[]; |
27710197Vladimir Kotikov8 years ago | 17 | } |
| 18 | | |
| 19 | /** | |
| 20 | * Defines the options needed to start debugging a project. | |
| 21 | */ | |
0db0be15Artem Egorov8 years ago | 22 | |
| 23 | export interface IAndroidRunOptions extends ILaunchArgs { | |
27710197Vladimir Kotikov8 years ago | 24 | variant?: string; |
0db0be15Artem Egorov8 years ago | 25 | } |
| 26 | | |
| 27 | export interface IIOSRunOptions extends ILaunchArgs { | |
27710197Vladimir Kotikov8 years ago | 28 | scheme?: string; |
0db0be15Artem Egorov8 years ago | 29 | iosRelativeProjectPath?: string; // TODO Remove deprecated |
| 30 | } | |
| 31 | | |
| 32 | export interface IRunOptions extends IAndroidRunOptions, IIOSRunOptions { | |
| 33 | | |
27710197Vladimir Kotikov8 years ago | 34 | } |