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 /tools | |
parent | 62cc4b468b4e8653d8ef523fc4081572c6c1c7d8 (diff) |
Apply licenses with rules_license
Diffstat (limited to 'tools')
-rw-r--r-- | tools/BUILD.bazel | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/BUILD.bazel b/tools/BUILD.bazel index b517e1f..1b4d8fb 100644 --- a/tools/BUILD.bazel +++ b/tools/BUILD.bazel @@ -3,6 +3,11 @@ # SPDX-License-Identifier: BSD-3-Clause load("@rules_python//python:py_binary.bzl", "py_binary") +load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands") + +package( + default_applicable_licenses = ["//:license"], +) py_binary( name = "fix_line_endings", @@ -11,3 +16,8 @@ py_binary( ], visibility = ["//:__subpackages__"], ) + +refresh_compile_commands( + name = "refresh_clangd", + targets = "//...", +) |