Skip to content

Commit

Permalink
Merge pull request #5 from luna-duclos/ld/remove-prints
Browse files Browse the repository at this point in the history
Remove all print statements
  • Loading branch information
nikunjy authored Oct 21, 2020
2 parents f3a9fee + 527d1af commit 1a8c1a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions golink.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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)


Expand Down
1 change: 0 additions & 1 deletion proto/proto.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 1a8c1a5

Please sign in to comment.