4 ms·
That was an excellent comment! I use make for almost all my projects (regardless of language) and I have a system where "make init" sets up the environment (in
by panpanna 7y ago
That was an excellent comment!
I use make for almost all my projects (regardless of language) and I have a system where "make init" sets up the environment (install packages, set up containers, and so on) and "make run" runs it and "make test" tests it.
Now I can come back to projects from 5-10 years ago and get them running with minimal effort since all the magic is in the makefile and not my in forgetful brain.
- Icathian 7y agoDo you have a tutorial or book you'd recommend for how to pursue this kind of workflow? I'm definitely interested as I dabble in more languages and am beginning to struggle with some of these kinds of environmental details
- papito 7y agoManaging Projects with GNU Make by O'Reilly is a good start. Make is much less mystifying if you get through all of its quirks. Make is not great in many ways (significant tabs are annoying, for example), but it's no SBT.
- zabzonk 7y agoThe GNU make documentation is the best introduction to make I know of, and a stellar example of technical writing. https://www.gnu.org/software/make/manual/make.html https://www.gnu.org/software/make/manual/make.html