diff --git a/MODULE.bazel b/MODULE.bazel index 8e82690..57e3308 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -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") diff --git a/cmd/echo/BUILD.bazel b/cmd/echo/BUILD.bazel deleted file mode 100644 index 14acf00..0000000 --- a/cmd/echo/BUILD.bazel +++ /dev/null @@ -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"], -) diff --git a/protocol/BUILD.bazel b/protocol/BUILD.bazel deleted file mode 100644 index 7763f0e..0000000 --- a/protocol/BUILD.bazel +++ /dev/null @@ -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"], -)