al_write_script

al_write_script

load("@com_alwaldend_src//tools/sh/rules:al_write_script.bzl", "al_write_script")

al_write_script(name, out, content, make_vars, set_flags, shebang)

Write a script and make it executable

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
outOutput fileLabel; nonconfigurablerequired
contentScript contentStringrequired
make_varsAdditional make varsDictionary: String -> Stringoptional{}
set_flagsFlags to pass to setList of stringsoptional["-eu"]
shebangSheband to useStringoptional"#!/usr/bin/env sh"