aKode fase 5: rinomina interna (crate akode-*, akode-rs/, akode-cli/, binario akode, AKODE_*, ~/.akode, snapshot)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
47
akode-rs/exec-server/testing/BUILD.bazel
Normal file
47
akode-rs/exec-server/testing/BUILD.bazel
Normal file
@@ -0,0 +1,47 @@
|
||||
load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library")
|
||||
|
||||
rust_library(
|
||||
name = "wine-exec-server-test-support",
|
||||
testonly = True,
|
||||
srcs = ["wine_exec_server.rs"],
|
||||
crate_name = "wine_exec_server_test_support",
|
||||
crate_root = "wine_exec_server.rs",
|
||||
target_compatible_with = ["@platforms//os:linux"],
|
||||
visibility = ["//akode-rs/core/tests/remote_env_windows:__pkg__"],
|
||||
deps = [
|
||||
"//bazel/rules/testing/wine:wine_test_support",
|
||||
"//akode-rs/utils/cargo-bin",
|
||||
"@crates//:anyhow",
|
||||
"@crates//:tokio",
|
||||
],
|
||||
)
|
||||
|
||||
rust_binary(
|
||||
name = "wine-exec-test-runner",
|
||||
testonly = True,
|
||||
srcs = ["wine_remote_test_runner.rs"],
|
||||
crate_name = "wine_exec_test_runner",
|
||||
crate_root = "wine_remote_test_runner.rs",
|
||||
target_compatible_with = ["@platforms//os:linux"],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":wine-exec-server-test-support",
|
||||
"@crates//:anyhow",
|
||||
"@crates//:tokio",
|
||||
],
|
||||
)
|
||||
|
||||
rust_binary(
|
||||
name = "exec-server",
|
||||
testonly = True,
|
||||
srcs = ["exec_server.rs"],
|
||||
crate_name = "exec_server",
|
||||
crate_root = "exec_server.rs",
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//akode-rs/exec-server",
|
||||
"//akode-rs/http-client",
|
||||
"//akode-rs/utils/pty",
|
||||
"@crates//:tokio",
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user