Hacker News new | ask | show | jobs
by alexhutcheson 2386 days ago
Alternatively, you could use Bazel[1], and automatically generate most of your build rules with Gazelle[2].

This would allow you to extend your build system beyond what's available via "go build", while avoiding the well-known pitfalls of Makefiles (config complexity, reproducibility, etc.)

[1] https://github.com/bazelbuild/rules_go

[2] https://github.com/bazelbuild/bazel-gazelle

1 comments

I tried Bazel for awhile on a bunch of projects and just found it to be more headache than it's worth. I like the promise, but the tool is... meh