summaryrefslogtreecommitdiffhomepage
path: root/tools/parsers/BUILD
diff options
context:
space:
mode:
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",