al_write_script
Categories:
al_write_script
load("@com-alwaldend-git-src//bzl/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
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
out | Output file | Label; nonconfigurable | required | |
content | Script content | String | required | |
make_vars | Additional make vars | Dictionary: String -> String | optional | {} |
set_flags | Flags to pass to set | List of strings | optional | ["-eu"] |
shebang | Sheband to use | String | optional | "#!/usr/bin/env sh" |