News for hackers. Stuff that matters.
Re:Why I Prefer Makefiles over Package.json Scripts by nuccy on Monday March 14, 2022 @10:18AM (#30672733)
I agree, but make is usually more abundant on much more systems (which is useful when there is no root privileges available). Also people are used to run make when they encounter a Makefile. I personally use Makefiles even to create Docker images, I find it simpler to run make images or make run, than remembering (or putting in a script and remember what parameters to use, as pointed in the comment above scripts are too free-style) how to do it manually.

Though I also agree that Makefile is not a silver bullet and some more complex/niche methods may be required in particular cases.

There are no comments on this comment yet.