Skip to content

Commit 1cf8440

Browse files
authored
Remove the emulate command (#2844)
* Remove the emulate command. * Remove unused method and interface.
1 parent a1932ce commit 1cf8440

19 files changed

+2
-299
lines changed

PLUGINS.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ tns prepare <Platform>
352352

353353
Make sure to run the command for all platforms configured for the project. During this operation, the NativeScript CLI will remove any leftover plugin files from your `platforms\ios` directory.
354354

355-
> **TIP:** Instead of `$ tns prepare` you can run `$ tns build`, `$ tns run`, `$ tns deploy` or `$ tns emulate`. All these commands run `$ tns prepare`.
355+
> **TIP:** Instead of `$ tns prepare` you can run `$ tns build`, `$ tns run` or `$ tns deploy`. All these commands run `$ tns prepare`.
356356
357357
Next, open your `platforms\ios\Info.plist` file and remove any leftover entries from the plugin `Info.plist` file.
358358

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ The NativeScript CLI lets you create, build, and deploy NativeScript-based proje
2121
* [Prepare for Build](#prepare-for-build)
2222
* [Build Your Project](#build-your-project)
2323
* [Deploy Your Project](#deploy-your-project)
24-
* [Emulate Your Project](#emulate-your-project)
2524
* [Run Your Project](#run-your-project)
2625
* [Extending the CLI](#extending-the-cli)
2726
* [Troubleshooting](#troubleshooting)
@@ -112,7 +111,6 @@ Quick Start
112111
* [Prepare for Build](#prepare-for-build)
113112
* [Build Your Project](#build-your-project)
114113
* [Deploy Your Project](#deploy-your-project)
115-
* [Emulate Your Project](#emulate-your-project)
116114
* [Run Your Project](#run-your-project)
117115

118116
## The Commands

docs/man_pages/index.md

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ Command | Description
2929
[prepare `<Platform>`](project/configuration/prepare.html) | Copies relevant content from the app directory to the subdirectory for the selected target platform to let you build the project.
3030
[build `<Platform>`](project/testing/build.html) | Builds the project for the selected target platform and produces an application package or an emulator package.
3131
[deploy `<Platform>`](project/testing/deploy.html) | Deploys the project to a connected physical or virtual device.
32-
[emulate `<Platform>`](project/testing/emulate.html) | Deploys the project in the native emulator for the selected target platform.
3332
[run `<Platform>`](project/testing/run.html) | Runs your project on a connected device or in the native emulator, if configured.
3433
[debug `<Platform>`](project/testing/debug.html) | Debugs your project on a connected physical or virtual device.
3534
[test init](project/testing/test-init.html) | Configures your project for unit testing with a selected framework.

docs/man_pages/project/testing/build-android.md

-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ Command | Description
3434
[debug ios](debug-ios.html) | Debugs your project on a connected iOS device or in a native emulator.
3535
[debug](debug.html) | Debugs your project on a connected device or in a native emulator.
3636
[deploy](deploy.html) | Builds and deploys the project to a connected physical or virtual device.
37-
[emulate android](emulate-android.html) | Builds the specified project and runs it in a native Android emulator.
38-
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
39-
[emulate](emulate.html) | You must run the emulate command with a related command.
4037
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
4138
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
4239
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.

docs/man_pages/project/testing/build-ios.md

-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ Command | Description
3333
[debug ios](debug-ios.html) | Debugs your project on a connected iOS device or in a native emulator.
3434
[debug](debug.html) | Debugs your project on a connected device or in a native emulator.
3535
[deploy](deploy.html) | Builds and deploys the project to a connected physical or virtual device.
36-
[emulate android](emulate-android.html) | Builds the specified project and runs it in a native Android emulator.
37-
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
38-
[emulate](emulate.html) | You must run the emulate command with a related command.
3936
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
4037
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
4138
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.

docs/man_pages/project/testing/build.md

-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ Command | Description
2929
[debug ios](debug-ios.html) | Debugs your project on a connected iOS device or in a native emulator.
3030
[debug](debug.html) | Debugs your project on a connected device or in a native emulator.
3131
[deploy](deploy.html) | Builds and deploys the project to a connected physical or virtual device.
32-
[emulate android](emulate-android.html) | Builds the specified project and runs it in a native Android emulator.
33-
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
34-
[emulate](emulate.html) | You must run the emulate command with a related command.
3532
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
3633
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
3734
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.

docs/man_pages/project/testing/deploy.md

-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ Command | Description
4444
[debug android](debug-android.html) | Debugs your project on a connected Android device or in a native emulator.
4545
[debug ios](debug-ios.html) | Debugs your project on a connected iOS device or in a native emulator.
4646
[debug](debug.html) | Debugs your project on a connected device or in a native emulator.
47-
[emulate android](emulate-android.html) | Builds the specified project and runs it in a native Android emulator.
48-
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
49-
[emulate](emulate.html) | You must run the emulate command with a related command.
5047
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
5148
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
5249
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.

docs/man_pages/project/testing/emulate-android.md

-59
This file was deleted.

docs/man_pages/project/testing/emulate-ios.md

-53
This file was deleted.

docs/man_pages/project/testing/emulate.md

-35
This file was deleted.

docs/man_pages/project/testing/run-android.md

-3
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ Command | Description
4848
[debug ios](debug-ios.html) | Debugs your project on a connected iOS device or in a native emulator.
4949
[debug](debug.html) | Debugs your project on a connected device or in a native emulator.
5050
[deploy](deploy.html) | Builds and deploys the project to a connected physical or virtual device.
51-
[emulate android](emulate-android.html) | Builds the specified project and runs it in a native Android emulator.
52-
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
53-
[emulate](emulate.html) | You must run the emulate command with a related command.
5451
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
5552
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
5653
[test init](test-init.html) | Configures your project for unit testing with a selected framework.

0 commit comments

Comments
 (0)