cmd
beornextract
test
BUILD
main.go
server
sqlgen
.gitignore
.gitmodules
BUILD
README.md
WORKSPACE
bazel-lotr
deps.bzl
go.mod
go.sum
19 lines
441 B
Python
19 lines
441 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "test_lib",
|
|
srcs = ["main.go"],
|
|
importpath = "github.com/squk/lotr/cmd/test",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"@com_github_davecgh_go_spew//spew",
|
|
"@com_github_mattn_go_sqlite3//:go-sqlite3",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "test",
|
|
embed = [":test_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|