diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-02 01:25:07 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2025-03-02 01:39:34 +0100 |
commit | 8604c98df53486208cdc15424aae9d9b2fef2d8e (patch) | |
tree | d7a8564846316028294a906d654db38b5313413d /BUILD.bazel | |
parent | 62cc4b468b4e8653d8ef523fc4081572c6c1c7d8 (diff) |
Apply licenses with rules_license
Diffstat (limited to 'BUILD.bazel')
-rw-r--r-- | BUILD.bazel | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/BUILD.bazel b/BUILD.bazel index 7adc1f3..9014daa 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -2,11 +2,15 @@ # # SPDX-License-Identifier: BSD-3-Clause -load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands") +load("@rules_license//rules:license.bzl", "license") -refresh_compile_commands( - name = "refresh_clangd", - targets = "//...", +license( + name = "license", + license_kinds = [ + "@rules_license//licenses/spdx:BSD-3-Clause", + ], + license_text = "LICENSE.txt", + package_name = "ASL", ) platform( |