added bazel builds

This commit is contained in:
ari committed 2026-11-01 14:59:37 -05:00
1 parent 4c082aca7c
commit e90c9f324b
23 files changed
+460 -86

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
load("@rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "local",
srcs = [
"capacity.go",
"files.go",
"local.go",
"transfer.go",
],
importpath = "slackerbot/internal/local",
visibility = ["//slackerbot:__subpackages__"],
deps = [
"//slackerbot/internal/config",
"//slackerbot/internal/model",
"//slackerbot/internal/node",
"//slackerbot/internal/storage",
"//slackerbot/internal/util",
"@com_github_godbus_dbus_v5//:dbus",
],
)
go_test(
name = "local_test",
srcs = ["capacity_test.go"],
embed = [":local"],
deps = ["//slackerbot/internal/model"],
)