antlr-php-runtime
antlr-php-runtime copied to clipboard
Exclude QA / CI files from release using .gitattributes
✨ Feature request
Exclude all but the necessary files from the released package using .gitattributes
Motivation
It removes all but production files from the released package.
Example
https://github.com/symfony/config/blob/7.0/.gitattributes
Alternatives
The unnecessary files stay in the package.
Additional context
It's good practice to remove all but the strictly necessary files for production use from releases, this can typically substantially reduce the disk size (which is important for containerized apps), but it's all good hygiene practice.