20 lines
411 B
Python
20 lines
411 B
Python
load("@rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "pkg",
|
|
srcs = [
|
|
"constants.go",
|
|
"init.go",
|
|
"interface.go",
|
|
],
|
|
importpath = "github.com/eat-pray-ai/yutu/pkg",
|
|
visibility = ["//visibility:public"],
|
|
deps = ["@com_github_jedib0t_go_pretty_v6//table"],
|
|
)
|
|
|
|
go_test(
|
|
name = "pkg_test",
|
|
srcs = ["init_test.go"],
|
|
embed = [":pkg"],
|
|
)
|