From d7848b4278b89f64ef2b4e7e8b0f0c5bc7861c19 Mon Sep 17 00:00:00 2001 From: Paul Johnston Date: Wed, 19 Nov 2025 18:19:27 -0700 Subject: [PATCH] Add BCR metadata --- .bcr/metadata.template.json | 15 +++++++++++++++ .bcr/presubmit.yml | 12 ++++++++++++ .bcr/source.template.json | 5 +++++ 3 files changed, 32 insertions(+) create mode 100644 .bcr/metadata.template.json create mode 100644 .bcr/presubmit.yml create mode 100644 .bcr/source.template.json diff --git a/.bcr/metadata.template.json b/.bcr/metadata.template.json new file mode 100644 index 0000000..010c8ec --- /dev/null +++ b/.bcr/metadata.template.json @@ -0,0 +1,15 @@ +{ + "homepage": "https://github.com/stackb/ui.js", + "maintainers": [ + { + "name": "Paul Cody", + "email": "pcj@stack.build", + "github": "pcj" + } + ], + "repository": [ + "github:stackb/ui.js" + ], + "versions": [], + "yanked_versions": {} +} \ No newline at end of file diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml new file mode 100644 index 0000000..b19745d --- /dev/null +++ b/.bcr/presubmit.yml @@ -0,0 +1,12 @@ +bcr_test_module: + module_path: "." + matrix: + platform: ["debian11", "ubuntu2404", "macos"] + bazel: [7.x, 8.x] + tasks: + run_tests: + name: "Build module" + platform: ${{ platform }} + bazel: ${{ bazel }} + test_targets: + - "//..." diff --git a/.bcr/source.template.json b/.bcr/source.template.json new file mode 100644 index 0000000..f8192ee --- /dev/null +++ b/.bcr/source.template.json @@ -0,0 +1,5 @@ +{ + "integrity": "", + "strip_prefix": "{REPO}-{TAG}", + "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{TAG}.tar.gz" +} \ No newline at end of file