summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLonnie Ezell <lonnieje@gmail.com>2015-05-04 07:15:48 +0200
committerLonnie Ezell <lonnieje@gmail.com>2015-05-04 07:15:48 +0200
commit8e9b93d83a95141bfca2268113a0465a66a32d1f (patch)
treea03444dc95e386898b911eb3919c386817444e4e
parent080dffadd820312e97e8dcf964e90bf745e256b1 (diff)
Ignore a number of files when using composer with --prefer-dist
-rw-r--r--.gitattributes20
1 files changed, 20 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..c77437bd8
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,20 @@
+# This file tells which files and folders should be ignored and
+# NOT downloaded when using composer to pull down a project with
+# the --prefer-dist option selected. Used to remove development
+# specific files so user has a clean download.
+
+# git files
+.gitattributes export-ignore
+# .gitignore
+
+# helper config files
+.travis.yml export-ignore
+phpdoc.dist.xml export-ignore
+
+# Misc other files
+readme.rst
+
+# They don't want all of our tests...
+tests/codeigniter/ export-ignore
+tests/travis/ export-ignore
+