Merge branch 'stable-3.0'

* stable-3.0:
  Bazel: Make build tool chain forward compatible

Change-Id: Ief8910cea7fd5deaf9ea0f7340a7560350df76be
This commit is contained in:
David Ostrovsky
2019-06-07 00:10:58 +02:00

View File

@@ -49,9 +49,9 @@ npm_binary = repository_rule(
def _run_npm_binary_str(ctx, tarball, args): def _run_npm_binary_str(ctx, tarball, args):
python_bin = ctx.which("python") python_bin = ctx.which("python")
return " ".join([ return " ".join([
python_bin, str(python_bin),
ctx.path(ctx.attr._run_npm), str(ctx.path(ctx.attr._run_npm)),
ctx.path(tarball), str(ctx.path(tarball)),
] + args) ] + args)
def _bower_archive(ctx): def _bower_archive(ctx):