Skip to content

Add option for setting the current platform #406

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

Closed
atanasovg opened this issue Apr 1, 2015 · 4 comments
Closed

Add option for setting the current platform #406

atanasovg opened this issue Apr 1, 2015 · 4 comments
Labels

Comments

@atanasovg
Copy link
Contributor

Currently, most of the commands require the platform-specific parameter, e.g.

tns prepare android
tns build android

What I suggest is to enable some way of setting the current platform and then to call all the commands without this additional parameter. Something like:

tns platform setCurrent android
tns prepare //(uses Android)
tns build //(uses Android)
@ligaz
Copy link

ligaz commented Apr 1, 2015

What about just adding the capability to execute the commands without platform and it will execute the command for all added platforms.

$ tns platform add android
$ tns run

will run (prepare, build, deploy) for Android.

$ tns platform add android
$ tns platform add ios
$ tns run

will run for both platforms.

@atanasovg
Copy link
Contributor Author

@ligaz Sounds good

@valentinstoychev valentinstoychev added this to the 1.2.0 milestone May 19, 2015
@teobugslayer
Copy link
Contributor

Related to #475

@teobugslayer teobugslayer removed this from the 1.2.0 milestone Jun 10, 2015
@ligaz
Copy link

ligaz commented Feb 26, 2016

Superseded by #475

@ligaz ligaz closed this as completed Feb 26, 2016
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