humanmade / Cavalcade

A better wp-cron. Horizontally scalable, works perfectly with multisite.
https://engineering.hmn.md/projects/cavalcade/
Other
512 stars 46 forks source link

Add `.gitattributes` file to exclude files not needed in composer installs. #97

Open peterwilsoncc opened 4 years ago

peterwilsoncc commented 4 years ago

The following files can be excluded from composer installs:

It sure would be dandy if these were listed in a .gitattributes file with the export-ignore flag to avoid putting test code on public servers.

Note: this applies to other HM projects too but I'm not going to create dozens of issues because that would be more than a little passive aggressive.

rmccue commented 4 years ago

Good idea 👍 We could potentially use archive.ignore in composer.json instead, but I think the gitattributes probably makes more sense.