load("@rules_go//go:def.bzl", "go_library") load("@gazelle//:def.bzl", "gazelle") gazelle(name = "gazelle") gazelle( name = "gazelle-update-repos", args = [ "-from_file=go.mod", "-to_macro=deps.bzl%go_dependencies", "-prune", ], command = "update-repos", ) go_library( name = "gomud", srcs = ["version.go"], importpath = "code.ndumas.com/ndumas/gomud", visibility = ["//visibility:public"], x_defs = { "code.ndumas.com/ndumas/gomud.VERSION": "{STABLE_GIT_VERSION}", "code.ndumas.com/ndumas/gomud.BUILD": "{STABLE_GIT_COMMIT}", }, )