Skip to content

Commit

Permalink
Add a .gitattributes file with export-ignore rules
Browse files Browse the repository at this point in the history
Add a [`.gitattributes` file for the project](https://php.watch/articles/composer-gitattributes), so we can exclude test and other build files from composer `prefer-dist` installations.
With this PR merged, the dist size of this package will be ~45% smaller.
  • Loading branch information
Ayesh committed Sep 17, 2020
1 parent ea848c7 commit b525804
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/tests export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/phpcs.xml export-ignore
/phpunit.xml.dist export-ignore

*.php diff=php

0 comments on commit b525804

Please sign in to comment.