mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
This adds a tool to pull in and analyze the licenses of all dependencies in the project, and ensures they are in a set of allowed licenses. This ensures that if we add new deps down the line, they must be part of the set of allowed licenses.
13 lines
229 B
Python
13 lines
229 B
Python
load("//tools:defs.bzl", "go_binary")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "licensecheck",
|
|
srcs = ["main.go"],
|
|
deps = ["//tools/licensecheck"],
|
|
)
|