Releases: rabbitmq/rules_erlang
Releases · rabbitmq/rules_erlang
bazel-erlang 1.4.0
- Adds a
license_filesattribute tobazel_erlang_lib, and appropriate args to the relevant macros
Full Changelog: 1.3.0...1.4.0
bazel-erlang 1.3.0
What's Changed
- Add support for an equivalent to PROJECT_APP_EXTRA_KEYS from erlang.mk by @pjk25 in #11
- Avoid accidentally changing to the home directory before ct_run by @pjk25 in #13
- Allow generated files in erlang_lib/test_erlang_lib extra_priv by @pjk25 in #14
- Add
assert_suitesmacro by @pjk25 in #12 - New approach to handling deps in tests by @pjk25 in #15
Full Changelog: 1.2.0...1.3.0
bazel-erlang 1.2.0
bazel-erlang 1.1.1
bazel-erlang 1.1.0
bazel-erlang 1.1.0
New Features
- Support for "semi-automatic" bazel level sharding of common test suites via
ct_sharded.bzlvia #2.
Fixes
- Corrects an issue where the
xrefrule could use a discoveredescriptbinary rather than the one configured with--@bazel-erlang//:erlang_home. See #1 for more details.
bazel-erlang 1.0.0
This is the initial release of bazel-erlang
bazel-erlang provides bazel rules for compiling and testing Erlang code.
The main Providers, Rules and Macros are:
ErlangLibInfoprovider: Represents a compiled erlang application in a form reusable within bazel-erlangerlang_libmacro: compile erlang sources to beam files and expose the result viaErlangLibInfotest_erlang_libmacro: a variant oferlang_libfor building sources for testingbazel_erlang_librule: the underlying rule forerlang_libandtest_erlang_libxrefmacro: invokes xref-runner in the form of a bazel testdialyzemacro: invokes the dialyzer in the form of a bazel testeunitmacro: invokes eunit testsct_suitemacro: invokes common test suiteshex_pm_bazel_erlang_libmacro: fetches an erlang library from hex.pm and defines:bazel_erlang_lib, providingErlangLibInfogithub_bazel_erlang_libmacro: fetches an erlang library from github and defines:bazel_erlang_lib, providingErlangLibInfoshellrule: an executable rule providing an erlang shell with compiled libraries available in the code path