From d8b824b3249a6e442c580cdc231760eb86a2dcee Mon Sep 17 00:00:00 2001 From: Garett PHG Date: Fri, 30 Jul 2021 11:44:21 +0700 Subject: Updates .gitattributes, added export-ignore. Excludes `user_guide_src` via `--prefer-dist` composer installation. Refer to this https://github.com/bcit-ci/CodeIgniter/issues/5843#issuecomment-889615837 based on this https://github.com/bcit-ci/CodeIgniter/pull/3831 > This basically just removes a number of development-only files (like the user guide source and our tests) from any installs made through composer with the --prefer-dist flag set. > > Helps create a faster install with less unnecessary files to new projects. --- .gitattributes | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitattributes b/.gitattributes index a4296d591..b4f0b6cbb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -18,8 +18,6 @@ readme.rst tests/codeigniter/ export-ignore tests/travis/ export-ignore -# User Guide Source Files -user_guide_src - -# User Guide Compiled Files +# User Guide source files and compiled files +user_guide_src export-ignore user_guide export-ignore -- cgit v1.2.3-24-g4f1b