diff options
Diffstat (limited to 'go/private/actions/utils.bzl')
-rw-r--r-- | go/private/actions/utils.bzl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/go/private/actions/utils.bzl b/go/private/actions/utils.bzl new file mode 100644 index 00000000..b3a360e4 --- /dev/null +++ b/go/private/actions/utils.bzl @@ -0,0 +1,7 @@ +load( + "@bazel_skylib//lib:shell.bzl", + "shell", +) + +def quote_opts(opts): + return " ".join([shell.quote(opt) if " " in opt else opt for opt in opts]) |