Replying to /2021/01/21/an-idea-instead-of-listing.html
Trying this. Two nice things about this make test
task:
-
I don’t need to know which command runs the tests in this project. That’s an implementation detail.
-
It runs formatting checks whenever tests are run locally (as formatting errors break CI)
https://github.com/jeffkreeftmeijer/shine/blob/ad49421f27c063729c8f438d2b5ca9838ea9584e/Makefile#L1-L4