Skip to content

Commit c1a9911

Browse files
authored
Set up publish-to-bcr (#230)
1 parent 01556a1 commit c1a9911

3 files changed

Lines changed: 40 additions & 0 deletions

File tree

.bcr/metadata.template.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"homepage": "https://github.com/bazel-contrib/rules_jvm",
3+
"maintainers": [
4+
{
5+
"name": "Daniel Wagner-Hall",
6+
"email": "dawagner@gmail.com",
7+
"github": "illicitonion"
8+
},
9+
{
10+
"name": "Gibson Fahnestock",
11+
"email": "gibfahn@gmail.com",
12+
"github": "gibfahn"
13+
},
14+
{
15+
"name": "Simon Stewart",
16+
"email": "simon.m.stewart@gmail.com",
17+
"github": "shs96c"
18+
}
19+
],
20+
"repository": [
21+
"github:bazel-contrib/rules_jvm"
22+
],
23+
"versions": [],
24+
"yanked_versions": {}
25+
}

.bcr/presubmit.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# We should probably create a standalone test module, but for now we'll just run our in-repo tests.
2+
bcr_test_module:
3+
matrix:
4+
platform: ["debian10", "macos", "ubuntu2004", "windows"]
5+
tasks:
6+
run_tests:
7+
name: "Run tests"
8+
platform: ${{ platform }}
9+
test_targets:
10+
- "//..."

.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}/archive/refs/tags/{TAG}.tar.gz"
5+
}

0 commit comments

Comments
 (0)