diff options
author | Garett PHG <suffering.train@yahoo.com> | 2021-07-30 06:44:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 06:44:21 +0200 |
commit | d8b824b3249a6e442c580cdc231760eb86a2dcee (patch) | |
tree | 3fcf1326f538759cb4c4b3b042eeb136bce5bf97 /.gitattributes | |
parent | 0648ae2acb3fae84f2cc49e15edb345ccef6cad5 (diff) |
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.
Diffstat (limited to '.gitattributes')
-rw-r--r-- | .gitattributes | 6 |
1 files 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 |