Skip to content

Commit 79e40e1

Browse files
committed
chore(docs): add proto.md
also update renovate config to match bazel-contrib/rules-template
1 parent deba2f4 commit 79e40e1

5 files changed

Lines changed: 56 additions & 9 deletions

File tree

docs/BUILD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,9 @@ stardoc_with_diff_test(
1717
bzl_library_target = "//rails:rails_test_factory",
1818
)
1919

20+
stardoc_with_diff_test(
21+
name = "proto",
22+
bzl_library_target = "//ruby:proto",
23+
)
24+
2025
update_docs(name = "update")

docs/proto.md

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/proto/MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ register_toolchains("@ruby_toolchains//:all")
2222

2323
ruby.bundle_fetch(
2424
name = "bundle",
25-
gemfile = "//:Gemfile",
26-
gemfile_lock = "//:Gemfile.lock",
2725
gem_checksums = {
2826
"bigdecimal-4.0.1": "8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7",
2927
"google-protobuf-4.33.4": "86921935b023ed0d872d6e84382e79016c91689be0520d614c74426778f13c16",
@@ -48,6 +46,8 @@ ruby.bundle_fetch(
4846
"grpc-tools-1.76.0": "1b943edf89fd5d125c3476d657b4d89ac85adc6144c5e00a10ed750631f1228e",
4947
"rake-13.3.1": "8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c",
5048
},
49+
gemfile = "//:Gemfile",
50+
gemfile_lock = "//:Gemfile.lock",
5151
)
5252
use_repo(ruby, "bundle")
5353

renovate.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": [
4-
"config:recommended"
4+
":dependencyDashboard",
5+
":enablePreCommit",
6+
":semanticPrefixFixDepsChoreOthers",
7+
"group:monorepos",
8+
"group:recommended",
9+
"replacements:all",
10+
"workarounds:all"
511
],
6-
"ignoreDeps": [
7-
"bazel_features",
8-
"bazel_skylib",
9-
"platforms",
10-
"rules_cc",
11-
"rules_java"
12+
"packageRules": [
13+
{
14+
"matchFiles": ["MODULE.bazel"],
15+
"enabled": false
16+
}
1217
]
1318
}

ruby/BUILD

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ bzl_library(
4949
],
5050
)
5151

52+
bzl_library(
53+
name = "proto",
54+
srcs = ["proto.bzl"],
55+
deps = [
56+
"//ruby/private:proto",
57+
"@protobuf//bazel/toolchains:proto_lang_toolchain_bzl",
58+
],
59+
)
60+
5261
bzl_library(
5362
name = "toolchain",
5463
srcs = ["toolchain.bzl"],

0 commit comments

Comments
 (0)