You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
323 B
Python
15 lines
323 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "cmd_lib",
|
|
srcs = ["echo.go"],
|
|
importpath = "code.ndumas.com/ndumas/gomud/cmd",
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "cmd",
|
|
embed = [":cmd_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|