Skip to content

Commit 64993e5

Browse files
mollyibotGoogle Java Core Libraries
authored and
Google Java Core Libraries
committed
Follow template in https://github.com/bazel-contrib/publish-to-bcr/tree/main/templates/.bcr to include these template files in bazel-common ruleset repository. This is required to publish bazel-common to bazel center registry.
PiperOrigin-RevId: 729640679
1 parent 1a08398 commit 64993e5

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.bcr/metadata.template.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"homepage": "https://github.com/google/bazel-common",
3+
"maintainers": [
4+
{
5+
"name": "Chris Povirk",
6+
"email": "[email protected]",
7+
"github": "cpovirk"
8+
}
9+
],
10+
"repository": [
11+
"github:google/bazel-common"
12+
],
13+
"versions": [],
14+
"yanked_versions": {}
15+
}

.bcr/presubmit.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
matrix:
2+
platform: ["debian10", "macos", "ubuntu2004", "windows"]
3+
bazel: [7.x, 8.x]
4+
tasks:
5+
run_tests:
6+
name: "Run tests"
7+
platform: ${{ platform }}
8+
bazel: ${{ bazel }}
9+
test_flags:
10+
- "--keep_going"
11+
test_targets:
12+
- "@google_bazel_common//..."

.bcr/source.template.json

+5
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/{TAG}/bazel-common-{TAG}.tar.gz"
5+
}

0 commit comments

Comments
 (0)