3 ms·
Make has more natural built-in dependency management. To write your workflow purely in shell scripts, you will invariably use lots of tests. Also note that th
by sheetjs 13y ago
Make has more natural built-in dependency management.
To write your workflow purely in shell scripts, you will invariably use lots of tests.
Also note that they are not necessarily mutually exclusive. You can write Makefiles that call shell scripts (and shell scripts that call make)
- epistasis 13y agoI use a ton of inline shell in make for data munging. I often put SHELL=/bin/bash at the top of the Makefile when I use bashisms to construct complex pipelines. And once, in a fit of mad genius, I made a particularly complex and useful Makefile executable by putting #!/usr/bin/make -f at the top. (It was a bad idea, obviously, and I won't be doing that again.) For large file based datasets, the shell is just a REPL.