6 ms·
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
by ondrasej 7y ago
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.
- pja 7y agoBased 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?