👷 Support build with bazel!

This commit is contained in:
openwaygate authored and OpenWaygate committed 2025-05-31 22:58:15 +08:00
1 parent 8f7ca1cf33
commit a9cc86f1e8
54 files changed
+1160 -4

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
load("@rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "commentThread",
srcs = ["commentThread.go"],
importpath = "github.com/eat-pray-ai/yutu/pkg/commentThread",
visibility = ["//visibility:public"],
deps = [
"//pkg/auth",
"//pkg/utils",
"@org_golang_google_api//youtube/v3:youtube",
],
)
go_test(
name = "commentThread_test",
srcs = ["commentThread_test.go"],
embed = [":commentThread"],
)