michelf / php-markdown

Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber.
http://michelf.ca/projects/php-markdown/
Other
3.42k stars 530 forks source link

Exclude dev files from dist package #374

Closed cedric-anne closed 2 years ago

cedric-anne commented 2 years ago

For the time being, when fetching the dist package from composer, all repository files are included. Using export-ignore git attribute would permit to make the dist package ligther (see https://php.watch/articles/composer-gitattributes#export-ignore).

Ignore files weight: 195.5kB Remaining files weight: 128.2kB

michelf commented 2 years ago

My objection to this is it will also affect the archives you can download from GitHub.

cedric-anne commented 2 years ago

It could also be done by adding a archive.exclude property in composer.json. Do you want me to update this PR with this solution ?

michelf commented 2 years ago

Sounds like a good idea.

cedric-anne commented 2 years ago

Done.

michelf commented 2 years ago

Thank you.