cleaning up to reproduce a gazelle bug

main
Nick Dumas 1 year ago
parent d53e123b7c
commit a5f717c4f4

@ -4,6 +4,8 @@ module(
)
bazel_dep(name = "gazelle", version = "0.32.0")
bazel_dep(name = "rules_go", version = "0.41.0")
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")

@ -1,14 +0,0 @@
load("@io_bazel_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"],
)

@ -1,8 +0,0 @@
load("@io_bazel_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…
Cancel
Save