moving the echo command before it gets hairy

main
Nick Dumas 1 year ago
parent ee4a6f8fc5
commit d53e123b7c

@ -1,14 +1,14 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library( go_library(
name = "cmd_lib", name = "echo_lib",
srcs = ["echo.go"], srcs = ["server.go"],
importpath = "code.ndumas.com/ndumas/gomud/cmd", importpath = "code.ndumas.com/ndumas/gomud/cmd/echo",
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
) )
go_binary( go_binary(
name = "cmd", name = "echo",
embed = [":cmd_lib"], embed = [":echo_lib"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
) )
Loading…
Cancel
Save