From ac675e5c4344c6192f0a4f2efba14f9d32face78 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Sat, 2 Sep 2023 21:53:42 -0400 Subject: [PATCH] moving these to a more intuitive spot --- BUILD.bazel | 4 ++++ cmd/echo/BUILD.bazel | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index 882a659..d615a2f 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -18,4 +18,8 @@ go_library( 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}", + }, ) diff --git a/cmd/echo/BUILD.bazel b/cmd/echo/BUILD.bazel index b73edc9..aac4cc9 100644 --- a/cmd/echo/BUILD.bazel +++ b/cmd/echo/BUILD.bazel @@ -22,10 +22,6 @@ go_binary( name = "echo", embed = [":echo_lib"], visibility = ["//visibility:public"], - x_defs = { - "code.ndumas.com/ndumas/gomud.VERSION": "{STABLE_GIT_VERSION}", - "code.ndumas.com/ndumas/gomud.BUILD": "{STABLE_GIT_COMMIT}", - }, ) go_cross_binary(