3 ms·
That's pretty much my strat: put everything in doit, and call doit from the yml file. Anything else is shenanigans.
by BiteCode_dev 3y ago
That's pretty much my strat: put everything in doit, and call doit from the yml file.
Anything else is shenanigans.
- trallnag 3y agoAnd yet you are here complaining about Taskfile and YAML overall. Nobody forces you to write full scripts in the YAML file. Just call scripts places somewhere next to it from it
- BiteCode_dev 3y agoJust because you have strats to minimize your exposure to something terrible doesn't mean the thing is less terrible.
- trallnag 3y agoBut I'd do exactly the same with .phony targets in a Makefile. Keep the targets short and move larger chunks of code to individual script files that are just called from the Makefile
- BiteCode_dev 3y agoI don't disagree with any of that. I just prefer Python to make, it's easier for me and most colleagues I met to write and to debug. And making a custom Python function when I need more than bash inside the dodo file is great. But for someone used to make, why not used it?