5 ms·
I’ve used make like this in the past, it’s handy. But zsh auto suggestion obviates the extra maintenance IMO. I type the command one time and it’s in my histor
by p5a0u9l 3y ago
I’ve used make like this in the past, it’s handy. But zsh auto suggestion obviates the extra maintenance IMO. I type the command one time and it’s in my history. So my common dev actions are more flexibly maintained by recency than editing a file.
You could say the Makefile also serves as a form of (not great) documentation.
- itake 3y agoI use it for documentation and simplifying my build flow. I code in more than a few languages and frameworks, but I don't always memorize the magic build commands for each one. In my make file, I simply create `make build` and it installs npm, pip, I run `make clean` and node_modules is deleted or DerivedData are gone. Otherwise, I'd dump this documentation in an unstructured ReadMe.md.