Skip to content

Commit 9cb0bbc

Browse files
committed
[build] create rake_tasks filegroup for linting
1 parent c22fe1c commit 9cb0bbc

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

BUILD.bazel

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,17 @@ filegroup(
3232
visibility = ["//rb:__subpackages__"],
3333
)
3434

35+
filegroup(
36+
name = "rake_tasks",
37+
srcs = [
38+
"Rakefile",
39+
] + glob([
40+
"rake_tasks/*.rake",
41+
"rake_tasks/*.rb",
42+
]),
43+
visibility = ["//visibility:public"],
44+
)
45+
3546
alias(
3647
name = "grid",
3748
actual = "//java/src/org/openqa/selenium/grid:executable-grid",

rb/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ _LINT_ARGS = [
199199

200200
_LINT_DATA = [
201201
".rubocop.yml",
202-
"//:rakefile",
202+
"//:rake_tasks",
203203
]
204204

205205
_LINT_DEPS = [

0 commit comments

Comments
 (0)