From 78da0822ea339bd0292b5cc0b5de6930d91b3254 Mon Sep 17 00:00:00 2001 From: Filip Filmar Date: Thu, 26 Sep 2019 23:07:25 -0700 Subject: [PATCH] Update for bazel 0.29.1 --- rules.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules.bzl b/rules.bzl index 1ae2297..240f287 100644 --- a/rules.bzl +++ b/rules.bzl @@ -32,9 +32,9 @@ export PATH="{bats_bins_path}":$PATH env=env, test_paths = " ".join(tests), ) - ctx.file_action( + ctx.actions.write( output = ctx.outputs.executable, - executable = True, + is_executable = True, content = content, ) runfiles = runfiles.merge(ctx.attr._bats.default_runfiles)