Pipeline SDKReferenceToolchains
Generated reference for the harmont Perl API.
perl
Callable singleton for the Perl toolchain — access as hm.perl.
Call directly to construct a PerlProject, or use the bare-form
action methods (perl.test(), perl.lint()) for a one-shot leaf.
perl(*, path='.', image=None, base=None) -> PerlProject| Parameter | Type | Default | Description |
|---|---|---|---|
path | str | '.' | Path to the Perl project root (must contain a cpanfile). |
image | str | None | None | Local-mode Docker base image override. |
base | Step | None | None | Existing Step to attach to instead of emitting a fresh |
| apt-base step. |
Returns PerlProject — A PerlProject whose installed step is the cpanm-deps step.
perl.lint()
lint(**kw) -> Step| Parameter | Type | Default | Description |
|---|---|---|---|
kw | Any | {} | — |
Returns Step
perl.test()
test(**kw) -> Step| Parameter | Type | Default | Description |
|---|---|---|---|
kw | Any | {} | — |
Returns Step
PerlEntry
Callable singleton for the Perl toolchain — access as hm.perl.
Call directly to construct a PerlProject, or use the bare-form
action methods (perl.test(), perl.lint()) for a one-shot leaf.
PerlEntry.lint()
lint(**kw) -> Step| Parameter | Type | Default | Description |
|---|---|---|---|
kw | Any | {} | — |
Returns Step
PerlEntry.test()
test(**kw) -> Step| Parameter | Type | Default | Description |
|---|---|---|---|
kw | Any | {} | — |
Returns Step
PerlProject
Perl project install chain — constructed via hm.perl().
installed is the cpanm-deps step. Action methods (test,
lint) attach leaves to installed.
Fields
| Field | Type | Default |
|---|---|---|
path | str | required |
installed | Step | required |
PerlProject.lint()
lint(**kw) -> Step| Parameter | Type | Default | Description |
|---|---|---|---|
kw | Any | {} | — |
Returns Step
PerlProject.test()
test(**kw) -> Step| Parameter | Type | Default | Description |
|---|---|---|---|
kw | Any | {} | — |
Returns Step