forked from TraceMachina/nativelink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
52 lines (48 loc) · 1.24 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
load("@rules_rust//rust:defs.bzl", "rust_binary")
exports_files(
[
".rustfmt.toml",
],
visibility = ["//visibility:public"],
)
rust_binary(
name = "cas",
srcs = [
"src/bin/cas.rs",
],
deps = [
"//error",
"//native-link-config",
"//native-link-scheduler",
"//native-link-service",
"//native-link-store",
"//native-link-util",
"//native-link-worker",
"//proto",
"@crate_index//:async-lock",
"@crate_index//:axum",
"@crate_index//:clap",
"@crate_index//:futures",
"@crate_index//:hyper",
"@crate_index//:parking_lot",
"@crate_index//:prometheus-client",
"@crate_index//:rustls-pemfile",
"@crate_index//:scopeguard",
"@crate_index//:serde_json5",
"@crate_index//:tokio",
"@crate_index//:tokio-rustls",
"@crate_index//:tonic",
"@crate_index//:tower",
"@crate_index//:tracing",
"@crate_index//:tracing-subscriber",
],
)
genrule(
name = "dummy_test_sh",
outs = ["dummy_test.sh"],
cmd = "echo \"sleep .1; echo $$(printf '=%.0s' {1..100})\" > \"$@\"",
)
sh_test(
name = "dummy_test",
srcs = [":dummy_test_sh"],
)