blob: 0c31a048a08e9d8bcfd6b6866e269f4a932478a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# Demonstrate the generate_sbom rule
load("@rules_license//rules:sbom.bzl", "generate_sbom")
# There are not a lot of targets in this rule set to build a SBOM from
# so we will (in a very self-referential way) generate one for the tool
# which generates the SBOMs
# See the output in bazel-bin/examples/sboms/write_sbom.txt
generate_sbom(
name = "write_sbom_sbom",
out = "write_sbom.txt",
deps = ["//tools:write_sbom"],
)
|