Skip to content

Commit

Permalink
fix(bazel): exclude bazel temporary directories to avoid recursive
Browse files Browse the repository at this point in the history
lookup
  • Loading branch information
fffonion committed Nov 3, 2023
1 parent 7a2ad42 commit ca74b5e
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,25 @@ load("@crate_index//:defs.bzl", "aliases", "all_crate_deps")
filegroup(
name = "all_srcs",
srcs = glob(
include = ["**"],
exclude = ["*.bazel"],
include = [
"src/**",
"Cargo.toml",
"Cargo.lock",
],
exclude = [
"*.bazel",
],
),
)

rust_shared_library(
name = "atc_router",
srcs = [":all_srcs"],
crate_features = ["default", "ffi"],
aliases = aliases(),
crate_features = [
"default",
"ffi",
],
proc_macro_deps = all_crate_deps(
proc_macro = True,
),
Expand Down

0 comments on commit ca74b5e

Please sign in to comment.