load("@io_bazel_rules_go//extras:bindata.bzl", "bindata") | |
load("@io_bazel_rules_go//go:def.bzl", "go_library") | |
bindata( | |
name = "tpl_bindata", | |
srcs = glob(["*"]), | |
extra_args = ["."], | |
package = "tpl", | |
) | |
go_library( | |
name = "tpl", | |
srcs = [ | |
":tpl_bindata", # keep | |
], | |
importpath = "code.hackerspace.pl/hscloud/hswaw/laserproxy/tpl", # keep | |
visibility = ["//hswaw/laserproxy:__subpackages__"], | |
) |