This commit is contained in:
Christian Nieves
2023-07-12 21:39:47 -05:00
parent d0dc725d64
commit 28fae2c39d
16 changed files with 157 additions and 19 deletions

18
sqlgen/cmd/BUILD Normal file
View File

@ -0,0 +1,18 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "cmd_lib",
srcs = ["main.go"],
importpath = "github.com/squk/lotr/sqlgen/cmd",
visibility = ["//visibility:private"],
deps = [
"@com_github_davecgh_go_spew//spew",
"@com_github_mattn_go_sqlite3//:go-sqlite3",
],
)
go_binary(
name = "cmd",
embed = [":cmd_lib"],
visibility = ["//visibility:public"],
)