mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-22 06:19:47 +08:00
29 lines
809 B
Python
29 lines
809 B
Python
load("@crates//:defs.bzl", "aliases", "all_crate_deps")
|
|
load("@rules_rs//rs:rust_library.bzl", "rust_library")
|
|
load("@rules_rs//rs:rust_test.bzl", "rust_test")
|
|
load("@rules_rust//rust:defs.bzl", "rustfmt_test")
|
|
|
|
rust_library(
|
|
name = "openshell-supervisor-process",
|
|
srcs = glob(["src/**/*.rs"]),
|
|
aliases = aliases(),
|
|
compile_data = glob(["src/skills/**/*.md"]),
|
|
visibility = ["//visibility:public"],
|
|
deps = all_crate_deps(normal = True),
|
|
)
|
|
|
|
rust_test(
|
|
name = "openshell-supervisor-process_test",
|
|
crate = ":openshell-supervisor-process",
|
|
deps = all_crate_deps(normal_dev = True),
|
|
)
|
|
|
|
rustfmt_test(
|
|
name = "rustfmt_test",
|
|
targets = [
|
|
":openshell-supervisor-process",
|
|
":openshell-supervisor-process_test",
|
|
],
|
|
visibility = ["//crates:__pkg__"],
|
|
)
|