perl-actions/Get Prereqs from Dist
Extracts the prereqs from a local dist
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| phases | The phases to get prerequisites for | no | build test runtime |
| relationships | The relationships to get prerequisites for | no | requires |
| features | The optional features to get prerequisites for | no | "" |
| sources | Source files to check for prerequisites | no | MYMETA.json MYMETA.yml META.json META.yml Makefile _build/prereqs cpanfile |
| exclude | Patterns to exclude from returned prerequisites | no | "" |
| all-sources | Include prerequisites from all sources rather than only the first | no | false |
| omit-core | Omit core-only prerequisites | no | true |
Outputs
| name | description |
|---|---|
| perl | The perl prerequisite formatted with a version in the syntax expected by cpanm or cpm |
| prereqs | The prerequisites formatted with a version in the syntax expected by cpanm or cpm |
| prereqs-no-version | The prerequisites formatted without a version as expected by CPAN.pm |
| prereqsJSON | The prerequisites as a string of JSON containing an object with modules as the keys and versions as the values |