2 ms·
The Makefile is going to be running external commands, no? So you still have the same problem (what are those external commands written in?) - whatever the answ
by jjnoakes 3y ago
The Makefile is going to be running external commands, no? So you still have the same problem (what are those external commands written in?) - whatever the answer to that question is, your task runner could be written in as well, probably.
At least, that's how I prefer to do it. A project that's heavy JS? Use a JS task runner. Heavy python? Python task runner. Heavy shell? And so on.
- alwillis 3y ago> A project that's heavy JS? Use a JS task runner. Trying to keep up with JS task runners for web projects is why I started using Make and haven’t looked back.
- jjnoakes 3y agoSure but if a developer already has a JS runtime and they don't have Make installed, you've added unnecessary friction to the development process. I hate JS as much as the next guy, but if I'm developing in JS, I use a JS task runner. Even a simple one. There's not much to "keep up with" IMO - they are quite easy to create and use, if the common/popular ones are missing features or move too fast for you.
- taeric 3y agoI have seen few hells as bad as "just use the target runtime for build."
- jjnoakes 3y agoIt can be done well though, and when it is, it removes friction from the development process.
- paulddraper 3y agoStep 0: Ensure your project only uses one thing.