added bazel builds
This commit is contained in:
1 parent
4c082aca7c
commit
e90c9f324b
23 files changed
+460
-86
No files matched your search
@@ -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",
|
||||
],
|
||||
)
|
||||
Reference in new issue
Block a user