@jonn My comment was mostly about putting single-line commands in Makefiles instead of running them through Rake or having a directory of executable bash files.
It’s all in one place, and without any extra dependencies to manage.
@jkreeftmeijer interesting! It's been a while since I had to work on "stateful" projects, there `make` seems to be justified. Like instead of `provisionLocalDatabase.sh` one can have `make data` that will take care of everything like bootstrapping local DB, making users, etc.
The closest similar use-case I am facing daily is to start long-running interactive programs or monitors. Sadly, `make` isn't quite applicable here, since the programs are long-running, so I use `shmux` over shell scripts in `tasks/` subdirectory: https://git.sr.ht/~jonn/shmux/tree/master/item/shmux#L43
@jonn Ah, shmux looks cool indeed! Yeah, using make breaks down very fast if the task becomes more complex, like long running tasks or even just accepting arguments. 😅
Mastodon server of https://doma.dev.