4 ms·
Resumability is the main one, in my mind Imagine a simple two-step process. The first takes a long time. The second one fails on occasion. You don't want to ru
by elchief 5y ago
Resumability is the main one, in my mind
Imagine a simple two-step process. The first takes a long time. The second one fails on occasion. You don't want to run the first one again. With Make, if the first one succeeds, it won't run again unless you `clean`
Easy, but now imagine many, many steps
- deepsun 5y agoMakefile just checks whether a file exists, nothing more. if [[ -f myfile ]]; then
- Izkata 5y agoIt also compares the last-modified timestamps of the source and target files so it only runs if the target is out of date. Plus because the dependencies are explicit, it's trivial to run in parallel the parts that can be.
- deepsun 5y agoThanks, didn't know about timestamps. But it's trivial to run shell scripts in parallel as well, just add ` &` at the end.