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 possibility to invoke list of commands #88

Open
sergey-ostapenko opened this issue Jun 6, 2018 · 3 comments
Open

Add possibility to invoke list of commands #88

sergey-ostapenko opened this issue Jun 6, 2018 · 3 comments

Comments

@sergey-ostapenko
Copy link
Contributor

sergey-ostapenko commented Jun 6, 2018

Idea

It seems reasonable to be able to invoke list of commands like:
mbt build local --all --command build,collect,release-notes

This approach allows to re-use information about projects and conditions of a call.

@buddhike
Copy link
Member

buddhike commented Jun 6, 2018

Sounds great. Do you think it's worth having two lists --pre-build and --post-build?

@sergey-ostapenko
Copy link
Contributor Author

Instead of adding stages it could be more convenient to allow call of build through run-in syntax as well.
So you can clearly see from the list of commands order of execution:
mbt run-in local --all --command clean,build,pack,collect

@BuddySpike what do you think?

@bashiransari
Copy link
Contributor

bashiransari commented Jun 16, 2018

We can also add command dependencies.
Each command can be depend on one or more commands. Similar ro grunt or other task runners
commands
-test
cmd
- run test
-packge
cmd
- package
dependson
-test

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

No branches or pull requests

3 participants