Re:Why I Prefer Makefiles over Package.json Scripts
by JamesSwift on Monday March 14, 2022 @09:36AM
(#30672242)
If using Make as a task runner and not build cache, I just put `.PHONY: %` at the top which means everything is marked `.PHONY`
The most complicated command I have is something that removes a folder or set of files, invokes the swagger generator with a list of options, copies it to a target folder, and passes it through a formatter/processor. But it's very straightforward, and it's "just" shell script, not shell script wrapped in a JSON document, or some Java tool invoked indirectly through an XML configuration file like back in the day with Maven.