Skip to content

Commit e97f5df

Browse files
authored
Merge pull request #1467 from UebelAndre/bazel
Added support for 'publish-to-bcr' tool
2 parents 7351ca0 + c368cbc commit e97f5df

File tree

5 files changed

+49
-0
lines changed

5 files changed

+49
-0
lines changed

.bcr/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Bazel Central Registry
2+
3+
When the ruleset is released, we want it to be published to the
4+
Bazel Central Registry automatically:
5+
<https://registry.bazel.build>
6+
7+
This folder contains configuration files to automate the publish step.
8+
See <https://github.com/bazel-contrib/publish-to-bcr/blob/main/templates/README.md>
9+
for authoritative documentation about these files.

.bcr/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fixedReleaser:
2+
login: dtolnay
3+
4+
moduleRoots:
5+
- "."

.bcr/metadata.template.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"homepage": "https://cxx.rs/",
3+
"maintainers": [
4+
{
5+
"email": "[email protected]",
6+
"github": "dtolnay",
7+
"name": "dtolnay"
8+
}
9+
],
10+
"repository": [
11+
"github:dtolnay/cxx"
12+
],
13+
"versions": [],
14+
"yanked_versions": {}
15+
}

.bcr/presubmit.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
matrix:
2+
platform:
3+
- macos_arm64
4+
- ubuntu2404
5+
- windows
6+
bazel: [7.x, 8.x]
7+
tasks:
8+
verify_targets:
9+
name: Verify build targets
10+
platform: ${{ platform }}
11+
bazel: ${{ bazel }}
12+
build_targets:
13+
- '//...'
14+
test_targets:
15+
- '//...'

.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": "**leave this alone**",
3+
"strip_prefix": "",
4+
"url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{VERSION}.zip"
5+
}

0 commit comments

Comments
 (0)