From 08b395618a0774f6e8a19272d4d50eb8f9b0e6e0 Mon Sep 17 00:00:00 2001 From: Edd Turtle Date: Wed, 8 Jun 2016 09:06:27 +0100 Subject: [PATCH] Remove development files/folders for export Also allows exclusion of these files when pulling through composer. More info here: https://www.reddit.com/r/PHP/comments/2jzp6k/i_dont_need_your_tests_in_my_production Closes #1215 --- .gitattributes | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitattributes b/.gitattributes index 2b07aa7d6..298cddfae 100644 --- a/.gitattributes +++ b/.gitattributes @@ -12,3 +12,10 @@ *.svg text VERSION export-subst + +# Ignore all test and documentation with "export-ignore". +/.gitattributes export-ignore +/.gitignore export-ignore +/.travis.yml export-ignore +/phpunit.xml.dist export-ignore +/tests export-ignore \ No newline at end of file