summaryrefslogtreecommitdiffhomepage
path: root/tools/parsers/BUILD
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-11-05 15:40:54 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-05 15:43:14 -0800
commit7caefd68df06062d2c0a3547132f1d25af49af22 (patch)
tree719475b183383a8f0e3dab9d61947020e5b16aac /tools/parsers/BUILD
parentc47f8afe2334c1395a2acd9ebf5191aa4554907c (diff)
Internal Change
PiperOrigin-RevId: 340941898
Diffstat (limited to 'tools/parsers/BUILD')
-rw-r--r--tools/parsers/BUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/parsers/BUILD b/tools/parsers/BUILD
index dab954e25..6932bba9a 100644
--- a/tools/parsers/BUILD
+++ b/tools/parsers/BUILD
@@ -31,8 +31,12 @@ go_library(
go_binary(
name = "parser",
testonly = 1,
- srcs = ["parser_main.go"],
+ srcs = [
+ "parser_main.go",
+ "version.go",
+ ],
nogo = False,
+ x_defs = {"main.version": "{STABLE_VERSION}"},
deps = [
":parsers",
"//runsc/flag",