Skip to content

Commit afd9e07

Browse files
authored
Add a defs.bzl for pre-MODULE usage (#14)
Add a `defs.bzl` so that WORKSPACE users can `http_archive(name = "aspect_tools_telemetry_report", ...)` in telemetry to satisfy load statements while adopting telemetry in bzlmod. ### Changes are visible to end-users: no ### Test plan TBD.
1 parent 4697249 commit afd9e07

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

defs.bzl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# A defs.bzl file allowing for WORKSPACE usage
2+
#
3+
# We don't (can't) collect telemetry in WORKSPACE systems. But we do want to be
4+
# able to deploy telemetry into rulesets which still provide WORKSPACE support
5+
# without injecting unsatisfied load() statements. This `defs.bzl` provides an
6+
# alternative to the one normally generated by the bzlmod extension so that
7+
# WORKSPACE users can `http_archive` in tools_telemetry and get a `defs.bzl`
8+
# approrpiate to satisfying any load() statements.
9+
10+
TELEMETRY = 0

0 commit comments

Comments
 (0)