27 lines
No EOL
635 B
Python
27 lines
No EOL
635 B
Python
load("@rules_rust//rust:defs.bzl", "rust_binary")
|
|
|
|
# DataBuild CLI wrapper using orchestrator
|
|
rust_binary(
|
|
name = "databuild_cli",
|
|
srcs = [
|
|
"main.rs",
|
|
"error.rs",
|
|
],
|
|
edition = "2021",
|
|
visibility = ["//visibility:public"],
|
|
data = [
|
|
"//databuild/graph:analyze",
|
|
"//databuild/graph:execute",
|
|
],
|
|
deps = [
|
|
"//databuild:databuild",
|
|
"@crates//:clap",
|
|
"@crates//:log",
|
|
"@crates//:serde",
|
|
"@crates//:serde_json",
|
|
"@crates//:simple_logger",
|
|
"@crates//:thiserror",
|
|
"@crates//:tokio",
|
|
"@crates//:uuid",
|
|
],
|
|
) |