News for hackers. Stuff that matters.
Re:Tired of Makefiles by verdverm on Monday May 13, 2024 @05:49PM (#40348909)
Author is now trying Bazel

I'm going the Dagger path

This CNCF talk covers both: https://www.youtube.com/watch?v=nZLz0o4duRs

Re:Tired of Makefiles by hoherd on Monday May 13, 2024 @06:36PM (#40349376)
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/...

Re:Tired of Makefiles by amtamt on Monday May 13, 2024 @06:43PM (#40349436)
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?
Re:Tired of Makefiles by verdverm on Tuesday May 14, 2024 @01:53AM (#40352038)
It's in the URL, I too missed it until pointed out
Re:Tired of Makefiles by esafak on Monday May 13, 2024 @07:00PM (#40349576)
Do you call bazel from dagger or what? You still need a build runner, no?
Re:Tired of Makefiles by verdverm on Monday May 13, 2024 @07:59PM (#40350024)
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

Re:Tired of Makefiles by esafak on Monday May 13, 2024 @08:25PM (#40350209)
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.
Re:Tired of Makefiles by verdverm on Monday May 13, 2024 @08:36PM (#40350292)
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