You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
402 B
Python
19 lines
402 B
Python
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"],
|
|
)
|