diff --git a/cmd/echo/BUILD.bazel b/cmd/echo/BUILD.bazel new file mode 100644 index 0000000..1adf6d5 --- /dev/null +++ b/cmd/echo/BUILD.bazel @@ -0,0 +1,14 @@ +load("@rules_go//go:def.bzl", "go_binary", "go_library") + +go_library( + name = "echo_lib", + srcs = ["server.go"], + importpath = "code.ndumas.com/ndumas/gomud/cmd/echo", + visibility = ["//visibility:private"], +) + +go_binary( + name = "echo", + embed = [":echo_lib"], + visibility = ["//visibility:public"], +) diff --git a/protocol/BUILD.bazel b/protocol/BUILD.bazel new file mode 100644 index 0000000..d24d04a --- /dev/null +++ b/protocol/BUILD.bazel @@ -0,0 +1,8 @@ +load("@rules_go//go:def.bzl", "go_library") + +go_library( + name = "protocol", + srcs = ["telnet.go"], + importpath = "code.ndumas.com/ndumas/gomud/protocol", + visibility = ["//visibility:public"], +)