-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish rabbitmq/[email protected] (#439)
Co-authored-by: Rin Kuryloski <[email protected]>
- Loading branch information
1 parent
b374a6c
commit d1ddd00
Showing
4 changed files
with
95 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
module( | ||
name = "rules_erlang", | ||
compatibility_level = 3, | ||
version = "3.9.5", | ||
) | ||
|
||
bazel_dep( | ||
name = "rules_go", | ||
repo_name = "io_bazel_rules_go", | ||
version = "0.37.0", | ||
) | ||
bazel_dep( | ||
name = "rules_pkg", | ||
version = "0.5.1", | ||
) | ||
bazel_dep( | ||
name = "bazel_skylib", | ||
version = "1.3.0", | ||
) | ||
bazel_dep( | ||
name = "gazelle", | ||
repo_name = "bazel_gazelle", | ||
version = "0.28.0", | ||
) | ||
|
||
go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") | ||
|
||
go_deps.from_file(go_mod = "@rules_erlang//:go.mod") | ||
|
||
use_repo( | ||
go_deps, | ||
"com_github_bazelbuild_buildtools", | ||
"com_github_google_go_cmp", | ||
"in_gopkg_yaml_v2", | ||
) | ||
|
||
erlang_package = use_extension( | ||
"//bzlmod:extensions.bzl", | ||
"erlang_package", | ||
) | ||
|
||
use_repo( | ||
erlang_package, | ||
"getopt_src", | ||
"xref_runner_src", | ||
) | ||
|
||
erlang_config_extension = use_extension( | ||
"@rules_erlang//bzlmod:extensions.bzl", | ||
"erlang_config", | ||
) | ||
|
||
use_repo( | ||
erlang_config_extension, | ||
"erlang_config", | ||
) | ||
|
||
register_toolchains( | ||
"@erlang_config//external:toolchain", | ||
"@erlang_config//external:toolchain2", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
shell_commands: &shell_commands | ||
- curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl | ||
- chmod a+x kerl | ||
- ./kerl update releases | ||
- ./kerl build ${ERLANG_VERSION} | ||
- ./kerl install ${ERLANG_VERSION} ~/kerl/${ERLANG_VERSION} | ||
- realpath ~/kerl/${ERLANG_VERSION} | ||
|
||
platforms: | ||
macos: | ||
environment: | ||
ERLANG_VERSION: "25.0" | ||
ERLANG_HOME: /Users/buildkite/kerl/25.0 | ||
shell_commands: *shell_commands | ||
build_flags: | ||
- --incompatible_strict_action_env | ||
build_targets: | ||
- '@rules_erlang//...' | ||
ubuntu2004: | ||
environment: | ||
ERLANG_VERSION: "25.0" | ||
ERLANG_HOME: /var/lib/buildkite-agent/kerl/25.0 | ||
shell_commands: *shell_commands | ||
build_flags: | ||
- --incompatible_strict_action_env | ||
build_targets: | ||
- '@rules_erlang//...' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"integrity": "sha256-YbJkawmmcEEFksoZAKVTD4BEY1qvRFvqr0jp/066PmU=", | ||
"strip_prefix": "rules_erlang-3.9.5", | ||
"url": "https://github.com/rabbitmq/rules_erlang/archive/refs/tags/3.9.5.tar.gz" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,8 @@ | |
"3.9.1", | ||
"3.9.2", | ||
"3.9.3", | ||
"3.9.4" | ||
"3.9.4", | ||
"3.9.5" | ||
], | ||
"yanked_versions": {} | ||
} |