Comments (2)
Thanks @sergey-ostapenko
Whilst I was working on the first implementation of run-in
command, I thought about making it more general purpose like this:
mbt run-in branch ./custom.sh arg1 arg2 arg3
mbt run-in commit <sha> npm run blah
...
That way, you could run any executable without needing to change the spec files. This would be very convenient to the user. However, you loose the visibility in the version control system.
I wonder if this proposal would fall into the same category.
What do you think?
from mbt.
@BuddySpike Yes, I think it will work great when you have set of very very similar projects.
The only difference here - you cannot alter command behavior for special cases. Let's consider the following workflow:
- You running the command
mbt run-in branch --command test
- If such command is defined, the step will be executed according to the configuration.
- If command is not defined and there is
default
command handler - it will be used. - If no command and no default handler - command will be reported as skipped for the module.
Also it is not true that we will lose possibility to track changes in source control: script files along with build configurations will be more than enough to track the history.
from mbt.
Related Issues (20)
- Visualise the entirety of a filtered sub-graph HOT 7
- Passing command line arguments to `build` or any command HOT 5
- Versions of other folders as environment variables to current build HOT 4
- .NET core project native support HOT 1
- mbt does not restore a detached head after the build
- ENHANCEMENT: Exclude files from being considered when diffing between commits. HOT 1
- libssl.so.1.0.0 deprecated HOT 9
- Run builds or commands in parallel? HOT 7
- Template function for iterating modules in correct build order HOT 5
- Can't build mbt in alpine based container HOT 6
- Mbt run-in branch "BranchName" -m "createafile" not working
- How file diffrential handle by mbt? HOT 2
- mbt does not work in alpine HOT 2
- Diff build is not working as expected in CI
- Any plans for new Linux Release location? HOT 7
- MBT run-in with -c throws error on GitHub actions - Ubuntu 20.04.4 LTS HOT 2
- Tag a new release to benefit of static linking work brought on master HOT 4
- Improve documentation structure
- [bug] mbt always return exit code 0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbt.