3 ms·
If you're going to go to all the trouble of writing (and debugging) bash scripts, why would you not just use Grunt to do the majority of it for you? EDIT: (Ask
by lexicality 9y ago
If you're going to go to all the trouble of writing (and debugging) bash scripts, why would you not just use Grunt to do the majority of it for you?
EDIT: (Asking this in the context of the grandparent comment suggesting getting rid of build systems in favour of NPM scripts)
- lucideer 9y agoTo clarify, I was specifically responding to the gp comment's point on needing to use one-liners in npm scripts. The most complex "shell scripts" I've actually written for this specific purpose are simple ordered command lists, with occasional exit code checks, where appropriate. So I'm not so much talking about "writing and debugging" - this is more "replacing semicolons with newlines in a very long one-liner" I do actually put one-liners into npm scripts instead quite often - it's a trade-off, depending on the pipeline.