diff --git a/docs/man_pages/index.md b/docs/man_pages/index.md index ca542d27e3..0602ad3101 100644 --- a/docs/man_pages/index.md +++ b/docs/man_pages/index.md @@ -30,12 +30,13 @@ Command | Description [init](project/creation/init.html) | Initializes an existing project for native development with NativeScript. [platform add ``](project/configuration/platform-add.html) | Configures the current project to target the selected platform. [platform list](project/configuration/platform.html) | Lists all platforms that the project currently targets. -[platform remove ``](project/configuration/platform-remove.html) | Removes the selected platform from the platforms that the project currently targets. This operation deletes all platform-specific files and subdirectories from your project. +[platform remove ``](project/configuration/platform-remove.html) | Removes the selected platform from the platforms that the project currently targets. This operation deletes all platform-specific files and subdirectories from your project. [platform update ``](project/configuration/platform-update.html) | Updates the NativeScript runtime for the specified platform. [prepare ``](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. [build ``](project/testing/build.html) | Builds the project for the selected target platform and produces an application package or an emulator package. [deploy ``](project/testing/deploy.html) | Deploys the project to a connected physical or virtual device. [run](project/testing/run.html) | Runs your project on a connected device or in the native emulator, if configured. +[run ``](project/testing/run.html) | Runs your project on a connected device or in the native emulator for the specified platform, if configured. [debug ``](project/testing/debug.html) | Debugs your project on a connected physical or virtual device. [test init](project/testing/test-init.html) | Configures your project for unit testing with a selected framework. [test ``](project/testing/test.html) | Runs the unit tests in your project on a connected physical or virtual device. diff --git a/docs/man_pages/project/configuration/prepare.md b/docs/man_pages/project/configuration/prepare.md index 02cb98b08e..db2f577522 100644 --- a/docs/man_pages/project/configuration/prepare.md +++ b/docs/man_pages/project/configuration/prepare.md @@ -18,7 +18,7 @@ in the `platforms` directory. This lets you build the project with the SDK for t * `android` - Prepares your project for an Android build. * `ios` - Prepares your project for an iOS build.<% } %> -<% if(isHtml) { %> +<% if(isHtml) { %> ### Command Limitations * You can run `$ tns prepare ios` only on OS X systems. diff --git a/docs/man_pages/project/testing/run.md b/docs/man_pages/project/testing/run.md index c31357e1e2..f121e768e4 100644 --- a/docs/man_pages/project/testing/run.md +++ b/docs/man_pages/project/testing/run.md @@ -9,6 +9,7 @@ Usage | Synopsis ---|--- Run on all connected devices | `$ tns run [--release] [--justlaunch]` Run on a selected connected device or running emulator. Will start emulator with specified `Device Identifier`, if not already running. | `$ tns run --device [--release] [--justlaunch]` +<% if((isConsole && isMacOS) || isHtml) { %>Run on all connected devices of the speficied `Platform` | `$ tns run [--release] [--justlaunch]`<% } %> Runs your project on all connected devices or in native emulators for the selected platform.<% if(isConsole && (isLinux || isWindows)) { %>The command will work with all currently running Android devices and emulators.<% } %> The command will prepare, build and deploy the app when necessary. By default listens for changes in your code, synchronizes those changes and refreshes all selected devices. @@ -19,6 +20,11 @@ Runs your project on all connected devices or in native emulators for the select ### Attributes * `` is the index or `Device Identifier` of the target device as listed by `$ tns device --available-devices` +<% if((isConsole && isMacOS) || isHtml) { %> +* `` is the target mobile platform for which you want to run your project. You can set the following target platforms. + * `android` - Run your project on all Android devices and emulators. + * `ios` - Run your project on all iOS devices and simulators. +<% } %> <% if(isHtml) { %> ### Command Limitations