From 8604c98df53486208cdc15424aae9d9b2fef2d8e Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sun, 2 Mar 2025 01:25:07 +0100 Subject: Apply licenses with rules_license --- tools/BUILD.bazel | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tools') 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 = "//...", +) -- cgit