15 lines
333 B
Python
15 lines
333 B
Python
1 year ago
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
||
|
|
||
|
go_library(
|
||
1 year ago
|
name = "echo_lib",
|
||
|
srcs = ["server.go"],
|
||
|
importpath = "code.ndumas.com/ndumas/gomud/cmd/echo",
|
||
1 year ago
|
visibility = ["//visibility:private"],
|
||
|
)
|
||
|
|
||
|
go_binary(
|
||
1 year ago
|
name = "echo",
|
||
|
embed = [":echo_lib"],
|
||
1 year ago
|
visibility = ["//visibility:public"],
|
||
|
)
|