Skip to content

Commit 6c2e9df

Browse files
committed
build(bazel): testing_macros
1 parent 993dd29 commit 6c2e9df

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

crates/testing_macros/BUILD.bazel

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
load("@swc_cargo_workspace_index//:defs.bzl", "crate_deps")
2+
load("@rules_rust//rust:defs.bzl", "rust_proc_macro", "rust_test")
3+
4+
package(default_visibility = ["//visibility:public"])
5+
6+
rust_proc_macro(
7+
name = "testing_macros",
8+
srcs = glob(["src/**/*.rs"]),
9+
deps = crate_deps([
10+
"anyhow",
11+
"glob",
12+
"pmutil",
13+
"proc-macro2",
14+
"quote",
15+
"regex",
16+
"relative-path",
17+
"syn",
18+
"once_cell",
19+
]),
20+
)
21+
22+
rust_test(
23+
name = "testing_macros_test",
24+
crate = ":testing_macros",
25+
)

0 commit comments

Comments
 (0)