Skip to content

Commit 346b898

Browse files
authored
Merge pull request bazel-contrib#46 from jac-stripe/jac/splits
Split the extras param by comma
2 parents 3e167dc + 77735bd commit 346b898

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/whl.bzl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ def _whl_impl(repository_ctx):
2424
]
2525

2626
if repository_ctx.attr.extras:
27-
args += ["--extras", ",".join(repository_ctx.attr.extras)]
27+
args += [
28+
"--extras=%s" % extra
29+
for extra in repository_ctx.attr.extras
30+
]
2831

2932
result = repository_ctx.execute(args)
3033
if result.return_code:

0 commit comments

Comments
 (0)