20 lines
381 B
Python
20 lines
381 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "mwc",
|
|
srcs = ["mwc.go"],
|
|
importpath = "git.wntrmute.dev/kyle/goutils/mwc",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "mwc_test",
|
|
srcs = ["mwc_test.go"],
|
|
embed = [":mwc"],
|
|
deps = [
|
|
"//assert",
|
|
"//testio",
|
|
],
|
|
size = "small",
|
|
)
|