Using Bzlmod with Bazel 6 or greater
- (Bazel 6 only) Enable with
common --enable_bzlmodin.bazelrc. - Add to your
MODULE.bazelfile:
bazel_dep(name = "com_myorg_rules_mylang", version = "0.4.1")Using WORKSPACE
Paste this snippet into your WORKSPACE.bazel file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_myorg_rules_mylang",
sha256 = "74710bf0a93e3ce6e1bd966077442c14956f039115573fc19e112a0c48531dd5",
strip_prefix = "rules_mylang-0.4.1",
url = "https://github.com/myorg/rules_mylang/releases/download/v0.4.1/rules_mylang-v0.4.1.tar.gz",
)
######################
# rules_mylang setup #
######################
# Fetches the rules_mylang dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
# Alternatively, you can skip calling this function, so long as you've
# already fetched all the dependencies.
load("@com_myorg_rules_mylang//mylang:repositories.bzl", "rules_mylang_dependencies")
rules_mylang_dependencies()What's Changed
- chore(deps): update actions/checkout action to v5 by @renovate[bot] in #158
- chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 by @renovate[bot] in #157
- chore(deps): update pre-commit hook commitizen-tools/commitizen to v4.9.1 by @renovate[bot] in #151
- pre-commit migrate-config by @SabatierBoris in #144
- chore(deps): update dependency bazel_skylib to v1.8.2 by @renovate[bot] in #153
- chore(deps): update pre-commit hook keith/pre-commit-buildifier to v8 by @renovate[bot] in #135
- fix(github-actions): update reference to release.yaml in tag.yaml by @tharakadesilva in #154
- chore(deps): update pre-commit hook crate-ci/typos to v1.38.1 by @renovate[bot] in #139
- .bazelrc: recommend --lockfile_mode=error by @jayconrod in #162
New Contributors
- @SabatierBoris made their first contribution in #144
- @jayconrod made their first contribution in #162
Full Changelog: v0.4.0...v0.4.1