now featuring bzlmod enabled builds
parent
bcc9c39712
commit
63fa87f33b
@ -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"],
|
||||
)
|
@ -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"],
|
||||
)
|
Loading…
Reference in New Issue