-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
27 lines (23 loc) · 1 KB
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
alias(
name = "spool",
actual = "//spool:spool",
)
refresh_compile_commands(
name = "refresh_compile_commands",
# Specify the targets of interest.
# For example, specify a dict of targets and any flags required to build.
targets = {
# "//spool:spool_skr_mini_e3_2_0": "",
"//spool:skr_pro_1_2": "",
},
# No need to add flags already in .bazelrc. They're automatically picked up.
# If you don't need flags, a list of targets is also okay, as is a single target string.
# Wildcard patterns, like //... for everything, *are* allowed here, just like a build.
# As are additional targets (+) and subtractions (-), like in bazel query https://docs.bazel.build/versions/main/query.html#expressions
# And if you're working on a header-only library, specify a test or binary target that compiles it.
)
alias(
name = "lsp",
actual = "//:refresh_compile_commands",
)