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

Commit 7127e6b

Browse files
author
Christoph Hegemann
committed
fixes BUILD.bazel file to include nested rs sources
1 parent cf78fe1 commit 7127e6b

File tree

1 file changed

+11
-5
lines changed
  • docker-images/syntax-highlighter/crates/scip-syntax

1 file changed

+11
-5
lines changed

docker-images/syntax-highlighter/crates/scip-syntax/BUILD.bazel

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ WORKSPACE_DEPS = [
2828
rust_library(
2929
name = "scip_syntax_lib",
3030
srcs = glob(
31-
[
32-
"src/*.rs",
33-
],
31+
["src/**/*.rs"],
3432
allow_empty = False,
3533
exclude = ["src/main.rs"],
3634
),
@@ -49,7 +47,11 @@ rust_library(
4947
rust_test(
5048
name = "unit_test",
5149
size = "small",
52-
srcs = glob(["src/*.rs"]),
50+
srcs = glob(
51+
["src/**/*.rs"],
52+
allow_empty = False,
53+
exclude = ["src/main.rs"],
54+
),
5355
proc_macro_deps = all_crate_deps(
5456
proc_macro = True,
5557
),
@@ -68,7 +70,11 @@ rust_test(
6870
rust_test(
6971
name = "integration_test",
7072
size = "small",
71-
srcs = glob(["tests/*.rs"]),
73+
srcs = glob(
74+
["src/**/*.rs"],
75+
allow_empty = False,
76+
exclude = ["src/main.rs"],
77+
),
7278
compile_data = glob(
7379
[
7480
"testdata/**",

0 commit comments

Comments
 (0)