Apply licenses with rules_license
This commit is contained in:
@ -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 = "//...",
|
||||
)
|
||||
|
Reference in New Issue
Block a user