al_genrule_rule

al_genrule_executable

load("@com_alwaldend_src//tools/shell_worker/rules:al_genrule_rule.bzl", "al_genrule_executable")

al_genrule_executable(name, srcs, data, outs, cmd, set_flags, shell, tools, worker)

Build executable using shell worker

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
srcsSources, will not be added to runfilesList of labelsoptional[]
dataData, will be added to runfilesList of labelsoptional[]
outsOutputsList of labels; nonconfigurablerequired
cmdScript to executeStringrequired
set_flagsset flagsList of stringsoptional["-eux"]
shellshell to useStringoptional"/bin/sh"
toolsTools, will be added to runfilesList of labelsoptional[]
workerWorker binaryLabeloptional"@com_alwaldend_src//tools/shell_worker"

al_genrule_regular

load("@com_alwaldend_src//tools/shell_worker/rules:al_genrule_rule.bzl", "al_genrule_regular")

al_genrule_regular(name, srcs, data, outs, cmd, set_flags, shell, tools, worker)

Build shell worker rule

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
srcsSources, will not be added to runfilesList of labelsoptional[]
dataData, will be added to runfilesList of labelsoptional[]
outsOutputsList of labels; nonconfigurablerequired
cmdScript to executeStringrequired
set_flagsset flagsList of stringsoptional["-eux"]
shellshell to useStringoptional"/bin/sh"
toolsTools, will be added to runfilesList of labelsoptional[]
workerWorker binaryLabeloptional"@com_alwaldend_src//tools/shell_worker"

al_genrule_test

load("@com_alwaldend_src//tools/shell_worker/rules:al_genrule_rule.bzl", "al_genrule_test")

al_genrule_test(name, srcs, data, outs, cmd, set_flags, shell, tools, worker)

Test using shell worker

ATTRIBUTES

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
srcsSources, will not be added to runfilesList of labelsoptional[]
dataData, will be added to runfilesList of labelsoptional[]
outsOutputsList of labels; nonconfigurablerequired
cmdScript to executeStringrequired
set_flagsset flagsList of stringsoptional["-eux"]
shellshell to useStringoptional"/bin/sh"
toolsTools, will be added to runfilesList of labelsoptional[]
workerWorker binaryLabeloptional"@com_alwaldend_src//tools/shell_worker"