Now it's choking on slog

stamping
Nick Dumas 1 year ago
parent be601acec6
commit 191725f700

@ -1,3 +1,4 @@
load("@rules_go//go:def.bzl", "go_library")
load("@gazelle//:def.bzl", "gazelle")
gazelle(name = "gazelle")
@ -11,3 +12,10 @@ gazelle(
],
command = "update-repos",
)
go_library(
name = "gomud",
srcs = ["version.go"],
importpath = "code.ndumas.com/ndumas/gomud",
visibility = ["//visibility:public"],
)

@ -6,9 +6,11 @@ go_library(
importpath = "code.ndumas.com/ndumas/gomud/cmd/echo",
visibility = ["//visibility:private"],
deps = [
"//:gomud",
"//engine",
"//logger",
"//telnet",
"@com_github_threedotslabs_watermill//:watermill",
"@com_github_engoengine_ecs//:ecs",
"@com_github_threedotslabs_watermill//message",
"@com_github_threedotslabs_watermill//message/router/middleware",
"@com_github_threedotslabs_watermill//message/router/plugin",

@ -0,0 +1,18 @@
load("@rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "ecs_lib",
srcs = ["main.go"],
importpath = "code.ndumas.com/ndumas/gomud/cmd/ecs",
visibility = ["//visibility:private"],
deps = [
"//engine",
"@com_github_engoengine_ecs//:ecs",
],
)
go_binary(
name = "ecs",
embed = [":ecs_lib"],
visibility = ["//visibility:public"],
)

@ -7,3 +7,15 @@ go_library(
visibility = ["//visibility:public"],
deps = ["@com_github_engoengine_engo//:engo"],
)
go_library(
name = "engine",
srcs = [
"components.go",
"telnetrenderer.go",
"world.go",
],
importpath = "code.ndumas.com/ndumas/gomud/engine",
visibility = ["//visibility:public"],
deps = ["@com_github_engoengine_ecs//:ecs"],
)

Loading…
Cancel
Save