typesense-php icon indicating copy to clipboard operation
typesense-php copied to clipboard

Ignore uneeded files for distribution

Open pH-7 opened this issue 2 years ago • 0 comments

Change Summary

A good idea is to exclude unneeded dev files from the final production zip archive file, which is also downloaded by composer (unless --prefer -source flag is specified).

Those files are actually only useful when working on the library itself.

In case you are not familiar, further information about export-ignore can be found below for instance:

  • http://www.pixelite.co.nz/article/using-git-attributes-exclude-files-your-release/
  • https://madewithlove.be/gitattributes/

I hope it helps @kishorenc / @AbdullahFaqeir 😊

PR Checklist

pH-7 avatar Jun 26 '22 21:06 pH-7