WithProjectDependencies
Method
func (PerlAppResource) WithProjectDependencies(options ...*WithProjectDependenciesOptions) PerlAppResourceSignature
method
WithProjectDependencies builderConfigures project-level dependency installation for the Perl application. Runs the appropriate install command based on the active package manager: - - If the active package manager is
cpan (the default), it is automatically switched to cpanm since cpan does not support --installdeps .WithProjectDependencies(options ...*WithProjectDependenciesOptions) PerlAppResourceParameters
options...*WithProjectDependenciesOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithProjectDependenciesOptions argument.
CartonDeployment *boolIf true and using Carton, adds --deployment for reproducible installs from cpanfile.snapshot . Ignored for other package managers.Returns
PerlAppResource A reference to the I.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: