|
|
@ -32,7 +32,7 @@ def inline_sh_binary( |
|
|
|
native.genrule( |
|
|
|
native.genrule( |
|
|
|
name = name + "_genrule", |
|
|
|
name = name + "_genrule", |
|
|
|
srcs = srcs, |
|
|
|
srcs = srcs, |
|
|
|
exec_tools = tools, |
|
|
|
tools = tools, |
|
|
|
outs = [name + ".sh"], |
|
|
|
outs = [name + ".sh"], |
|
|
|
cmd = "cat <<'EOF' >$(OUTS)\n#!/bin/bash -exu\n%s\nEOF\n" % cmd, |
|
|
|
cmd = "cat <<'EOF' >$(OUTS)\n#!/bin/bash -exu\n%s\nEOF\n" % cmd, |
|
|
|
visibility = ["//visibility:private"], |
|
|
|
visibility = ["//visibility:private"], |
|
|
@ -77,7 +77,7 @@ def inline_sh_test( |
|
|
|
native.genrule( |
|
|
|
native.genrule( |
|
|
|
name = name + "_genrule", |
|
|
|
name = name + "_genrule", |
|
|
|
srcs = srcs, |
|
|
|
srcs = srcs, |
|
|
|
exec_tools = tools, |
|
|
|
tools = tools, |
|
|
|
outs = [name + ".sh"], |
|
|
|
outs = [name + ".sh"], |
|
|
|
cmd = "cat <<'EOF' >$(OUTS)\n#!/bin/bash -exu\n%s\nEOF\n" % cmd, |
|
|
|
cmd = "cat <<'EOF' >$(OUTS)\n#!/bin/bash -exu\n%s\nEOF\n" % cmd, |
|
|
|
visibility = ["//visibility:private"], |
|
|
|
visibility = ["//visibility:private"], |
|
|
|