Skip to content

cpanfile ignored during build process #4

@tmiklas

Description

@tmiklas

Issue:
The empty cpanfile located in the template is always used during the build, ignoring any other cpanfile that user may create. This results in container with missing dependencies - not working at all unless there is no dependencies beyond core Perl module set.

Suggested fix/workaround:
Move cpanfile into function directory within template, copy directory first and use cpanminus rather than Carton to install dependencies from it.

Note:
Switching to cpanminus should also remove the need to use carton exec in fprocess and effectively remove one level of wrapper as library paths are added to main.pl anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions