add an genrule to copy the print_status_tool where arcanist can reliably find it
Summary: Fix for the new go_rules doing dumb things with arch-dependent paths
Reviewers: schroederc, fromberger
Subscribers: #core_team
@@ -2,8 +2,16 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary")
package(default_visibility = ["//kythe:default_visibility"])
+genrule(
+ name = "copy_print_test_status",
+ srcs = [":print_test_status_bin"],
+ outs = ["print_test_status"],
+ cmd = "cp $< $@",
+ output_to_bindir = True,
+)
+
go_binary(
- name = "print_test_status",
+ name = "print_test_status_bin",
srcs = ["print_test_status.go"],
deps = [
"//kythe/go/platform/vfs",
