3 ms·
> By "replacement", I mean picking up a random open source project and being able to do the equivalent of For that, Bazel needs someone to write all the necess
by dmitriid 9y ago
> By "replacement", I mean picking up a random open source project and being able to do the equivalent of
For that, Bazel needs someone to write all the necessary configs, and make them available out-of-the box, with sane presets baked-in.
You can look at Angular team's working on integrating Bazel into their build process, here's the repo: https://github.com/alexeagle/angular-bazel-example https://github.com/alexeagle/angular-bazel-example
There's:
- build.bazel
- Workspace
And then there are rules that have to be included and/or developed:
- nodejs rules, https://github.com/bazelbuild/rules_nodejs https://github.com/bazelbuild/rules_nodejs
- sass rules https://github.com/bazelbuild/rules_sass https://github.com/bazelbuild/rules_sass
- typescript rules: https://github.com/bazelbuild/rules_typescript https://github.com/bazelbuild/rules_typescript
etc.
And those rules have to be not only loaded, but specific steps from those rules have to be invoked (see WORKSPACE).
I'd say there still still a lot of configuration involved in setting up all the moving pieces. Will it get better? Hopefully (there are just not enough good/decent build tools).