Skip to content

Commit 17ca7f8

Browse files
authored
Add publish-to-bcr configuration (bazel-contrib#64)
1 parent 125f395 commit 17ca7f8

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

.bcr/config.yml

Whitespace-only changes.

.bcr/metadata.template.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"homepage": "https://github.com/bazel-contrib/rules_cuda",
3+
"maintainers": [
4+
{
5+
"email": "james.sharpe@zenotech.com",
6+
"github": "jsharpe",
7+
"name": "James Sharpe"
8+
}
9+
],
10+
"repository": ["github:bazel-contrib/rules_cuda"],
11+
"versions": [],
12+
"yanked_versions": {}
13+
}

.bcr/presubmit.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# We recommend included a bcr test workspace that exercises your ruleset with bzlmod.
2+
# For an example, see https://github.com/aspect-build/bazel-lib/tree/main/e2e/bzlmod.
3+
#bcr_test_module:
4+
# module_path: "examples"
5+
# matrix:
6+
# platform: ["debian10", "macos", "ubuntu2004", "windows"]
7+
# tasks:
8+
# run_tests:
9+
# name: "Run test module"
10+
# platform: ${{ platform }}
11+
# test_targets:
12+
# - "//..."

.bcr/source.template.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"integrity": "",
3+
"strip_prefix": "{REPO}-{VERSION}",
4+
"url": "https://github.com/{OWNER}/{REPO}/releases/download/{VERSION}/{REPO}-{TAG}.tar.gz"
5+
}

0 commit comments

Comments
 (0)