Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes BUILD.bazel file to include nested rs sources
Browse files Browse the repository at this point in the history
kritzcreek committed Jul 1, 2024
1 parent cf78fe1 commit 7127e6b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions docker-images/syntax-highlighter/crates/scip-syntax/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -28,9 +28,7 @@ WORKSPACE_DEPS = [
rust_library(
name = "scip_syntax_lib",
srcs = glob(
[
"src/*.rs",
],
["src/**/*.rs"],
allow_empty = False,
exclude = ["src/main.rs"],
),
@@ -49,7 +47,11 @@ rust_library(
rust_test(
name = "unit_test",
size = "small",
srcs = glob(["src/*.rs"]),
srcs = glob(
["src/**/*.rs"],
allow_empty = False,
exclude = ["src/main.rs"],
),
proc_macro_deps = all_crate_deps(
proc_macro = True,
),
@@ -68,7 +70,11 @@ rust_test(
rust_test(
name = "integration_test",
size = "small",
srcs = glob(["tests/*.rs"]),
srcs = glob(
["src/**/*.rs"],
allow_empty = False,
exclude = ["src/main.rs"],
),
compile_data = glob(
[
"testdata/**",

0 comments on commit 7127e6b

Please sign in to comment.