Skip to content

Commit d39a5d8

Browse files
authored
Slim down runfiles in publish_binary (#481)
## Why? Because we only need the user provided runfiles to be in the actual runfiles object. The rest of the files are copied to the correct location in the output directory.
1 parent 4b4d832 commit d39a5d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/private/rules/publish_binary/publish_binary.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def _publish_binary_impl(ctx):
205205
DefaultInfo(
206206
executable = apphost_shim,
207207
files = depset([apphost_shim, main_dll, runtimeconfig, depsjson] + outputs),
208-
runfiles = ctx.runfiles(files = [apphost_shim, main_dll, runtimeconfig, depsjson] + outputs + runfiles),
208+
runfiles = ctx.runfiles(files = runfiles),
209209
),
210210
]
211211

0 commit comments

Comments
 (0)