News for hackers. Stuff that matters.
Re:Bazel 1.0 by ondrasej on Friday October 18, 2019 @10:03AM (#21291423)
There's genrule() which basically runs a shell script. With that, you can build anything for which you can write a command-line. And you can go as far as invoke a binary that is built by another bazel rule.

You can also define your own rules in a subset of Python (by wrapping other rules including genrule()), so adding new languages should be simple enough.

Re:Bazel 1.0 by pja on Friday October 18, 2019 @10:33AM (#21291700)
Based on my experience with bazel the phrase “should be simple enough” is doing an awful lot of work in that sentence ;)

It’s just a SMOP, right?