Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a .gitattributes file #45

Merged
merged 1 commit into from
Aug 21, 2017
Merged

Add a .gitattributes file #45

merged 1 commit into from
Aug 21, 2017

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Aug 17, 2017

This PR adds a .gitattributes file to keep the archives GH creates of the repo clean of development related files.
In effect, this means that the stable releases as available from GH as well as through Packagist will no longer contain the unit tests.

People using Composer can still get these files in their setup if they really want to, by using --prefer-source.

Refs:

This PR adds a `.gitattributes` file to keep the archives GH creates of the repo clean of development related files.
In effect, this means that the stable releases as available from GH as well as through Packagist will no longer contain the unit tests.

People using Composer can still get these files in their setup if they really want to, by using `--prefer-source`.

Refs:
* [Reddit: I don't need your tests in my production](https://www.reddit.com/r/PHP/comments/2jzp6k/i_dont_need_your_tests_in_my_production)
* [Blog: I don't need your tests in my production](https://blog.madewithlove.be/post/gitattributes/)
@atimmer atimmer merged commit f83964e into Yoast:master Aug 21, 2017
@jrfnl jrfnl deleted the JRF/no-tests-in-production branch November 15, 2017 19:39
@jrfnl jrfnl added this to the Next release milestone Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants