Skip to content

rules_erlang 3.0.0

Compare
Choose a tag to compare
@HoloRin HoloRin released this 01 Jun 07:49
· 684 commits to main since this release

What's Changed

This is a substantial update which provides the option of using Bazel to compile Erlang within a project. This can greatly simplify the management of which Erlang versions are test in say, a CI environment.

A few breaking changes were required, notably an Erlang/OTP "platform" must be targeted to resolve the toolchains needed by all the erlang related rules. There is a special platform, @rules_erlang//platforms:erlang_external_platform, which makes use of the existing --@//:erlang_home and --@//:erlang_version to maintain the behavior of rules_erlang 2.x with an external Erlang. On windows this is currently the only working option.

Also, the erlc rule has been renamed to erlang_bytecode in attempt to be more conventional with rule names.

The rest of the changes are mentioned in #43.

PRs in this release:

  • Enhanced erlang mk autobuild by @pjk25 in #41
  • v3 by @pjk25 in #43

Full Changelog: 2.5.2...3.0.0