From 527d1af3109d252ed1c37dd826339c8ab98fda79 Mon Sep 17 00:00:00 2001 From: Luna Duclos Date: Mon, 19 Oct 2020 09:29:05 +0200 Subject: [PATCH] Remove all print statements --- golink.bzl | 2 -- proto/proto.bzl | 1 - 2 files changed, 3 deletions(-) diff --git a/golink.bzl b/golink.bzl index f1fc747..8364224 100644 --- a/golink.bzl +++ b/golink.bzl @@ -3,7 +3,6 @@ load("@bazel_skylib//lib:shell.bzl", "shell") def gen_copy_files_script(ctx, files): content = "" for f in files: - print(files) line = "cp -f %s %s/;\n" % (f.path, ctx.attr.dir) content += line substitutions = { @@ -26,7 +25,6 @@ def gen_copy_files_script(ctx, files): ] def golink_impl(ctx, **kwargs): - print("Copying output files for rule %s" % ctx.attr.dep) return gen_copy_files_script(ctx, ctx.files.dep) diff --git a/proto/proto.bzl b/proto/proto.bzl index 54a4a53..1f691a8 100644 --- a/proto/proto.bzl +++ b/proto/proto.bzl @@ -2,7 +2,6 @@ load("@bazel_skylib//lib:shell.bzl", "shell") load("//:golink.bzl", "gen_copy_files_script") def go_proto_link_impl(ctx, **kwargs): - print("Copying generated files for proto library %s" % ctx.attr.dep) return gen_copy_files_script(ctx, ctx.attr.dep[OutputGroupInfo].go_generated_srcs.to_list()) _go_proto_link = rule(