31 lines
826 B
Python
31 lines
826 B
Python
"""Module dependencies for the yutu project."""
|
|
|
|
bazel_dep(name = "rules_go", version = "0.56.1")
|
|
bazel_dep(name = "gazelle", version = "0.45.0")
|
|
|
|
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
|
|
go_sdk.from_file(go_mod = "//:go.mod")
|
|
go_sdk.nogo(nogo = "//:yutu_nogo")
|
|
|
|
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
|
|
go_deps.from_file(go_mod = "//:go.mod")
|
|
go_deps.config(
|
|
go_env = {
|
|
"CGO_ENABLED": "0",
|
|
"GO111MODULE": "on",
|
|
},
|
|
)
|
|
use_repo(
|
|
go_deps,
|
|
"com_github_jedib0t_go_pretty_v6",
|
|
"com_github_mark3labs_mcp_go",
|
|
"com_github_ohler55_ojg",
|
|
"com_github_savioxavier_termlink",
|
|
"com_github_spf13_cobra",
|
|
"com_github_spf13_pflag",
|
|
"com_github_spf13_viper",
|
|
"in_gopkg_yaml_v3",
|
|
"org_golang_google_api",
|
|
"org_golang_x_oauth2",
|
|
)
|