Skip to content

Commit 5b20b9a

Browse files
authored
Merge pull request #163 from rabbitmq/plt-testonly-by-default
Mark plt rules as "testonly" by default
2 parents 474a248 + 8294ea5 commit 5b20b9a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

dialyze.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ DIALYZE_TAG = "dialyze"
1414
def plt(
1515
for_target = None,
1616
apps = None,
17+
testonly = True,
1718
**kwargs):
1819
if for_target == None and apps == None:
1920
apps = DEFAULT_PLT_APPS
2021
_plt(
2122
for_target = for_target,
2223
apps = apps,
24+
testonly = testonly,
2325
**kwargs
2426
)
2527

xref2.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def xref(
2929
)
3030
xref_query(
3131
name = name + "-query",
32+
testonly = True,
3233
target = target,
3334
is_windows = select({
3435
"@bazel_tools//src/conditions:host_windows": True,

0 commit comments

Comments
 (0)