mirror of
https://github.com/urbit/vere.git
synced 2024-10-26 12:20:18 +03:00
address peter's comments
This commit is contained in:
parent
c76f32ffe3
commit
e85d00c88c
23
BUILD.bazel
23
BUILD.bazel
@ -4,8 +4,6 @@ load("//bazel:common_settings.bzl", "string_flag")
|
||||
# OS-CPU CONFIG SETTINGS
|
||||
#
|
||||
|
||||
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
|
||||
|
||||
config_setting(
|
||||
name = "linux_aarch64",
|
||||
constraint_values = [
|
||||
@ -181,24 +179,3 @@ alias(
|
||||
name = "urbit",
|
||||
actual = "//pkg/vere:urbit",
|
||||
)
|
||||
|
||||
# gazelle:exclude external
|
||||
|
||||
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 = [
|
||||
"//pkg/ent",
|
||||
"//pkg/noun",
|
||||
"//pkg/ur",
|
||||
"//pkg/urcrypt",
|
||||
"//pkg/vere:urbit",
|
||||
],
|
||||
# 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.
|
||||
)
|
||||
|
@ -359,6 +359,7 @@ versioned_http_archive(
|
||||
versioned_http_archive(
|
||||
name = "hedron_compile_commands",
|
||||
strip_prefix = "bazel-compile-commands-extractor-{version}",
|
||||
sha256 = "d7ba7708816132f86f02864b9dba0c5abf249cc0fb035a34c430e4e538c87867",
|
||||
url = "https://github.com/hedronvision/bazel-compile-commands-extractor/archive/{version}.tar.gz",
|
||||
version = "d3afb5dfadd4beca48bb027112d029f2d34ff0a0",
|
||||
)
|
||||
|
@ -0,0 +1,22 @@
|
||||
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
|
||||
|
||||
# gazelle:exclude external
|
||||
|
||||
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 = [
|
||||
"//pkg/ent",
|
||||
"//pkg/noun",
|
||||
"//pkg/ur",
|
||||
"//pkg/urcrypt",
|
||||
"//pkg/vere:urbit",
|
||||
],
|
||||
# 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.
|
||||
)
|
Loading…
Reference in New Issue
Block a user