mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-02 21:35:40 +02:00
Bazel support: Add license annotations
This commit is contained in:

committed by
Chris Thrasher

parent
74fcff6e5b
commit
3013cb897b
16
BUILD.bazel
16
BUILD.bazel
@@ -1,4 +1,20 @@
|
||||
load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
|
||||
load("@rules_cc//cc:cc_library.bzl", "cc_library")
|
||||
load("@rules_license//rules:license.bzl", "license")
|
||||
|
||||
package(
|
||||
default_applicable_licenses = [":license"],
|
||||
)
|
||||
|
||||
exports_files([
|
||||
"LICENSE.MIT",
|
||||
])
|
||||
|
||||
license(
|
||||
name = "license",
|
||||
license_kinds = ["@rules_license//licenses/spdx:BSL-1.0"],
|
||||
license_text = "LICENSE.MIT",
|
||||
)
|
||||
|
||||
expand_template(
|
||||
name = "catch_user_config",
|
||||
|
Reference in New Issue
Block a user