Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add platform on each platform related command #785

Closed
rosen-vladimirov opened this issue Aug 13, 2015 · 0 comments
Closed

Add platform on each platform related command #785

rosen-vladimirov opened this issue Aug 13, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

When you execute tns run <platform>, but you have forgotten to add the platform before that, you go in inconsistent state. Make sure to add the platform for the user when one of the following is executed:

  • tns prepare <platform>
  • tns build <platform>
  • tns run <platform>
  • tns update <platform>@<version> - this will add the specified version in case you have not added the platform before that.
  • tns emulate <platform>

This way we simplify the workflow, now you can just do:

  1. tns create app1
  2. tns run android --path app1
    And the application will run on your attached device.

Part of the implementation of: #475

@rosen-vladimirov rosen-vladimirov self-assigned this Aug 13, 2015
@rosen-vladimirov rosen-vladimirov added this to the 1.3.0 milestone Aug 13, 2015
vchimev pushed a commit to NativeScript/nativescript-cli-tests that referenced this issue Aug 19, 2015
vchimev pushed a commit to NativeScript/nativescript-cli-tests that referenced this issue Aug 19, 2015
vchimev pushed a commit to NativeScript/nativescript-cli-tests that referenced this issue Aug 20, 2015
vchimev pushed a commit to NativeScript/nativescript-cli-tests that referenced this issue Sep 1, 2015
vchimev pushed a commit to NativeScript/nativescript-cli-tests that referenced this issue Sep 1, 2015
vchimev pushed a commit to NativeScript/nativescript-cli-tests that referenced this issue Sep 1, 2015
vchimev pushed a commit to NativeScript/nativescript-cli-tests that referenced this issue Sep 2, 2015
vchimev pushed a commit to NativeScript/nativescript-cli-tests that referenced this issue Sep 2, 2015
@vchimev vchimev closed this as completed Sep 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants