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

+21
View File
@@ -0,0 +1,21 @@
load("@rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "model",
srcs = [
"model.go",
"permissions.go",
],
importpath = "slackerbot/internal/model",
visibility = ["//slackerbot:__subpackages__"],
)
go_test(
name = "model_test",
srcs = ["permissions_test.go"],
data = ["//:config.example.toml"],
deps = [
":model",
"//slackerbot/internal/config",
],
)