From 7faf6e62bfc8edbebfc786b58efc55a2d87de0ed Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Sat, 1 Apr 2023 13:41:36 -0600 Subject: [PATCH] chore: add files for `publish-to-bcr` (#329) Closes #322. --- .bcr/config.yml | 3 +++ .bcr/metadata.template.json | 15 +++++++++++++++ .bcr/presubmit.yml | 10 ++++++++++ .bcr/source.template.json | 5 +++++ 4 files changed, 33 insertions(+) create mode 100644 .bcr/config.yml create mode 100644 .bcr/metadata.template.json create mode 100644 .bcr/presubmit.yml create mode 100644 .bcr/source.template.json diff --git a/.bcr/config.yml b/.bcr/config.yml new file mode 100644 index 000000000..42519eefc --- /dev/null +++ b/.bcr/config.yml @@ -0,0 +1,3 @@ +fixedReleaser: + login: cgrindel + email: chuck.grindel@gmail.com diff --git a/.bcr/metadata.template.json b/.bcr/metadata.template.json new file mode 100644 index 000000000..4a00397e7 --- /dev/null +++ b/.bcr/metadata.template.json @@ -0,0 +1,15 @@ +{ + "homepage": "https://github.com/cgrindel/rules_swift_package_manager", + "maintainers": [ + { + "email": "chuck.grindel@gmail.com", + "github": "cgrindel", + "name": "Chuck Grindel" + } + ], + "repository": [ + "github:cgrindel/rules_swift_package_manager" + ], + "versions": [], + "yanked_versions": {} +} diff --git a/.bcr/presubmit.yml b/.bcr/presubmit.yml new file mode 100644 index 000000000..309fd632e --- /dev/null +++ b/.bcr/presubmit.yml @@ -0,0 +1,10 @@ +bcr_test_module: + module_path: "" + matrix: + platform: ["macos", "ubuntu2004"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + test_targets: + - "//bzlmod:e2e_test" diff --git a/.bcr/source.template.json b/.bcr/source.template.json new file mode 100644 index 000000000..3cb16e6b9 --- /dev/null +++ b/.bcr/source.template.json @@ -0,0 +1,5 @@ +{ + "integrity": "", + "strip_prefix": "", + "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/rules_swift_package_manager.{TAG}.tar.gz" +}