From ab604c1cd803e678753c0665a345eece1d333ea1 Mon Sep 17 00:00:00 2001 From: Ivo List Date: Fri, 31 May 2024 11:45:14 +0200 Subject: [PATCH] Add bcr setup for gazelle (#519) --- .bcr/gazelle/metadata.template.json | 15 +++++++++++++++ .bcr/gazelle/presubmit.yml | 17 +++++++++++++++++ .bcr/gazelle/source.template.json | 5 +++++ 3 files changed, 37 insertions(+) create mode 100644 .bcr/gazelle/metadata.template.json create mode 100644 .bcr/gazelle/presubmit.yml create mode 100644 .bcr/gazelle/source.template.json diff --git a/.bcr/gazelle/metadata.template.json b/.bcr/gazelle/metadata.template.json new file mode 100644 index 0000000..66a25e1 --- /dev/null +++ b/.bcr/gazelle/metadata.template.json @@ -0,0 +1,15 @@ +{ + "homepage": "https://github.com/bazelbuild/bazel-skylib", + "maintainers": [ + { + "email": "ilist@google.com", + "github": "comius", + "name": "Ivo Ristovski List" + } + ], + "versions": [], + "yanked_versions": {}, + "repository": [ + "github:bazelbuild/bazel-skylib" + ] +} diff --git a/.bcr/gazelle/presubmit.yml b/.bcr/gazelle/presubmit.yml new file mode 100644 index 0000000..d947da8 --- /dev/null +++ b/.bcr/gazelle/presubmit.yml @@ -0,0 +1,17 @@ +matrix: + platform: + - centos7 + - debian10 + - macos + - ubuntu2004 + - windows + bazel: + - 7.x + - 6.x +tasks: + verify_build_targets: + name: "Verify build targets" + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - "@bazel_skylib_gazelle_plugin//..." diff --git a/.bcr/gazelle/source.template.json b/.bcr/gazelle/source.template.json new file mode 100644 index 0000000..558daf4 --- /dev/null +++ b/.bcr/gazelle/source.template.json @@ -0,0 +1,5 @@ +{ + "integrity": "", + "strip_prefix": "", + "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/bazel-skylib-gazelle-plugin-{TAG}.tar.gz" +}