Skip to content

Commit

Permalink
feat(rules_diff): add 1.0.0-beta.2 (#1881)
Browse files Browse the repository at this point in the history
Apple Silicon support via `[email protected]`.
  • Loading branch information
mattyclarkson authored May 2, 2024
1 parent 8362b83 commit ee96f84
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 14 deletions.
33 changes: 33 additions & 0 deletions modules/rules_diff/1.0.0-beta.2/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module(
name = "rules_diff",
version = "1.0.0-beta.2",
bazel_compatibility = [
">=7.0.0",
],
compatibility_level = 1,
)

bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.6")
bazel_dep(name = "ape", version = "1.0.0-beta.4")

export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain_export")

resolved = use_repo_rule("@toolchain_utils//toolchain/resolved:defs.bzl", "toolchain_resolved")

[
(
use_repo(export, "ape-{}".format(tool)),
export.symlink(
name = tool,
target = "@ape-{}".format(tool),
),
use_repo(export, tool),
resolved(
name = "resolved-{}".format(tool),
toolchain_type = "//diff/toolchain/{}:type".format(tool),
),
)
for tool in ("diff", "diff3", "sdiff", "cmp")
]

register_toolchains("//diff/toolchain/...")
23 changes: 23 additions & 0 deletions modules/rules_diff/1.0.0-beta.2/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
bcr_test_module:
module_path: e2e
matrix:
bazel:
- 7.x
platform:
- centos7_java11_devtoolset10
- debian10
- debian11
- ubuntu2004
- ubuntu2004_arm64
- ubuntu2204
- fedora39
- macos
- macos_arm64
- windows
tasks:
e2e_tests:
name: Run end-to-end Tests
bazel: ${{ bazel }}
platform: ${{ platform }}
test_targets:
- "//..."
5 changes: 5 additions & 0 deletions modules/rules_diff/1.0.0-beta.2/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"url": "https://gitlab.arm.com/bazel/rules_diff/-/releases/v1.0.0-beta.2/downloads/src.tar.gz",
"integrity": "sha512-ZAfkUE0c7Ax2EuM1vvl8w5YzWovrrz8OhKRXEr6RyRwteDLBOXTd3OPdMO0Vk0VTZ558xDJfstxP5OZpHHm3xw==",
"strip_prefix": "rules_diff-v1.0.0-beta.2"
}
29 changes: 15 additions & 14 deletions modules/rules_diff/metadata.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"homepage": "https://gitlab.arm.com/bazel/rules_diff",
"repository": [
"https://gitlab.arm.com/bazel/rules_diff"
],
"versions":[
"1.0.0-alpha.3"
],
"maintainers": [
{
"email": "[email protected]",
"github": "mattyclarkson",
"name": "Matt Clarkson"
}
]
"homepage": "https://gitlab.arm.com/bazel/rules_diff",
"repository": [
"https://gitlab.arm.com/bazel/rules_diff"
],
"versions": [
"1.0.0-alpha.3",
"1.0.0-beta.2"
],
"maintainers": [
{
"email": "[email protected]",
"name": "Matt Clarkson",
"github": "mattyclarkson"
}
]
}

0 comments on commit ee96f84

Please sign in to comment.