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

Preparing a project for a platform causes changes for the other platform #2986

Closed
Mitko-Kerezov opened this issue Jul 20, 2017 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@Mitko-Kerezov
Copy link
Contributor

If one adds and prepares platform A in a fresh project, then adds and prepares platform B and then runs prepare for A again, CLI wrongfully registers changes for platform A and prepares anew, even though platform A and B have nothing in common.

Steps to reproduce:

  • tns create prepareTest && cd prepareTest
  • tns prepare android
  • tns prepare ios
  • tns prepare android

Expected result: Skip preparing for android
Actual result: Project is prepared for the android platform

Note: This affects tns run directly too. If one should run tns run android followed by tns run ios and another tns run android the last run command will actually unnecessarily prepare and build the project.

@Mitko-Kerezov Mitko-Kerezov added this to the 3.2.0 milestone Jul 20, 2017
@Mitko-Kerezov Mitko-Kerezov reopened this Jul 20, 2017
@rosen-vladimirov rosen-vladimirov modified the milestones: 3.1.3, 3.2.0 Jul 22, 2017
dtopuzov added a commit to NativeScript/nativescript-cli-tests that referenced this issue Jul 31, 2017
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

4 participants