Author tried bazel 8 years ago, which is when the article was written. Judging by his GH repos, he's still using Makefiles.
https://github.com/dimonomid/bulgaria-freelance-taxes/blame/...
Anyone not working alone, not working on his own projects only, will end up having to use tools created ages ago, but refined gradually, how ever clunky the usage feels along the usage journey.
Re:Tired of Makefiles
by mediumsmart on Monday May 13, 2024 @11:31PM
(#40351402)
I was going to comment that I am tired of undated articles. Where did you see when it was written?
It's in the URL, I too missed it until pointed out
Do you call bazel from dagger or what? You still need a build runner, no?
Nope, just write code instead of Bazel or Make
Everything runs in a container
You can of course run whatever tool you want inside containerize workflows with Dagger, which can be much more than a build tool
Are you using a compiled language? IF so, what are you building with? That is the part that bazel optimizes. Once the build artifact is created, you can containerize it with dagger, of course.
Is the Bazel version consistent across all local dev & build ci? How do tool updates & versions work as developers switch between branches and repos?
Run Bazel in Dagger for consistency, or more generally build your binary in a container with Dagger using whatever tools you like. One main point of Dagger is the consistency between local & cloud for the build scripts, whereas containers have always been thought of as for consistency when running locally and cloud
I'm going the Dagger path
This CNCF talk covers both: https://www.youtube.com/watch?v=nZLz0o4duRs