Skip to content

Commit

Permalink
chore(build): add a new target to include lua files (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion authored Apr 23, 2024
1 parent 533f2db commit ffd11db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
15 changes: 12 additions & 3 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,29 @@ filegroup(
),
)

filegroup(
name = "lualib_srcs",
srcs = glob([
"lualib/**/*.lua",
"lib/**/*.lua",
]),
visibility = ["//visibility:public"],
)

rust_shared_library(
name = "atc_router",
srcs = [":all_srcs"],
aliases = aliases(),
rustc_flags = [
"--codegen=strip=symbols",
],
crate_features = [
"default",
"ffi",
],
proc_macro_deps = all_crate_deps(
proc_macro = True,
),
rustc_flags = [
"--codegen=strip=symbols",
],
visibility = ["//visibility:public"],
deps = all_crate_deps(
normal = True,
Expand Down
1 change: 0 additions & 1 deletion build/repos.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ def atc_router_repositories():
integrity = "sha256-JLN47ZcAbx9wEr5Jiib4HduZATGLiDgK7oUi/fvotzU=",
urls = ["https://github.com/bazelbuild/rules_rust/releases/download/0.42.1/rules_rust-v0.42.1.tar.gz"],
)

0 comments on commit ffd11db

Please sign in to comment.