psliwa / image-optimizer

Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.
MIT License
909 stars 141 forks source link

Suggestion: add a .gitattributes file #43

Closed freekmurze closed 7 years ago

freekmurze commented 7 years ago

Right now, when installing the package on a production server, the tests get installed as well. This can be avoided by adding a .gitattributes file. In this file you can specify which files should not be used when installing the package somewhere.

Here's an example of such a file: https://github.com/spatie/laravel-backup/blob/master/.gitattributes

There are no downsides of adding such a file, so I highly recommend adding one to this package.

psliwa commented 7 years ago

Added.