You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this change we start using `bzlmod` which should allow for better
developer experience and easier updates of the rules. With this we also
leverage `bazel-env` helper to setup tools to be in your `PATH`:
* Go: `go`, `gazelle`, `gopackagesdriver.sh`
* Bazel: `buildifier`, `buildozer`
* Python: `python`
* JAVA: `jar`, `java`
When updating the go dependencies only `go mod tidy` is required.
Summary:
* Enable bzlmod since it is reasonably stable with bazel 7.2.0.
* Move all of the available dependencies from WORKSPACE to bzlmod.
* Add pre-commit buildifier hooks using the pre-built binaries, should
fix#128.
* Add bazel-env tool and modify the direnv to add more CLIs to the
development environment. This includes the `gopackagesdriver` and
others, from now on users should use `bazel run //:bazel-env` to setup
their environment in addition to having `direnv`.
* Use the remote jdk17 toolchain for our builds.
NOTE: `rules_antlr4` cannot be migrated to `bzlmod` and I have opened
#137 to track this.
Currently depends on bazelbuild/bazel-central-registry#1575
The text was updated successfully, but these errors were encountered: