Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There isn’t even a need for a shell script. The author is already invoking three separate tools, each of which has a mechanism for invoking custom commands.


What if he wants to have a uniform environment across projects and some aren't JavaScript?


Dear God! There is something that isn't javascript? Do you know you can it use on the server and the browser!??!


Then he could just use Gulp, but I have no skin in this absurd game.


Gulp? That JS tool that was last cool in 2018? After it which it was replaced with Grunt, which stopped being cool in 2020? And that was replaced with Webpack, ESBuild, Rome, Bun...

Why would anyone voluntarily subject themselves to that kind of insanity? :-))

Better to just use the hacksaw that is Make than all these Rube Goldberg contraptions :-)


I don’t personally care about the JS ecosystem. But OP is already using Gulp. He’s then calling Gulp from npm run. He’s then calling npm run from make. Adding make into the mix is solving nothing here. If you’re saying he should use make properly I agree!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: