From 8e9b93d83a95141bfca2268113a0465a66a32d1f Mon Sep 17 00:00:00 2001 From: Lonnie Ezell Date: Mon, 4 May 2015 00:15:48 -0500 Subject: Ignore a number of files when using composer with --prefer-dist --- .gitattributes | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitattributes 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 + -- cgit v1.2.3-24-g4f1b From baa6a677b21284fd0f3754a3c39f85212bb6c669 Mon Sep 17 00:00:00 2001 From: Lonnie Ezell Date: Mon, 4 May 2015 08:03:52 -0500 Subject: Keeping the user guide source out of the dist files. --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index c77437bd8..68d6b5b38 100644 --- a/.gitattributes +++ b/.gitattributes @@ -18,3 +18,5 @@ readme.rst tests/codeigniter/ export-ignore tests/travis/ export-ignore +# User Guide Source Files +user_guide_src -- cgit v1.2.3-24-g4f1b From cc9b09b24029df673e1b0eb6e03eae9dfab87b11 Mon Sep 17 00:00:00 2001 From: Lonnie Ezell Date: Mon, 4 May 2015 08:15:55 -0500 Subject: Renaming folders to directories :) --- .gitattributes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 68d6b5b38..51fea4174 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,4 @@ -# This file tells which files and folders should be ignored and +# This file tells which files and directories 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. -- cgit v1.2.3-24-g4f1b