load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") | |
go_library( | |
name = "go_default_library", | |
srcs = ["genpluginyml.go"], | |
importpath = "code.hackerspace.pl/personal/q3k/minecraft/plugins/genpluginyml", | |
visibility = ["//visibility:private"], | |
) | |
go_binary( | |
name = "genpluginyml", | |
embed = [":go_default_library"], | |
visibility = ["//visibility:public"], | |
) |