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

Running grunt sectv-prepare:sectv-tizen without interactive mode #7

Open
hnb2 opened this issue Mar 26, 2017 · 2 comments
Open

Running grunt sectv-prepare:sectv-tizen without interactive mode #7

hnb2 opened this issue Mar 26, 2017 · 2 comments

Comments

@hnb2
Copy link

hnb2 commented Mar 26, 2017

Hi there,

I am using this library through the Toast project, and I was curious to know whether or not it was possible to run grunt sectv-prepare:sectv-tizen without the interactive mode. I would like to use this command in our CI pipeline which is right now impossible.

Thanks in advance

@prozanne
Copy link
Member

Unfortunately, TOAST dosen't support a feature to grunt sectv-prepare:[each-platform] WITHOUT interactive mode.
But It seems good idea, we will consider to add it in future updates.

@hnb2
Copy link
Author

hnb2 commented Mar 28, 2017

For those running into the same problem, it can be fixed by having the platforms/userconf.json file generated, that way if you run the command it should only ask you to confirm the app name and the version of the app.

Then you can use this command in your CI workflow to inject your data:

printf 'y\n1.0.0\n' | grunt sectv-prepare:sectv-tizen

Thank your for your direct answer @prozanne and looking forward to have a flag --force or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants