commit
334dcb0c6a
|
@ -117,7 +117,7 @@ the `.gitignore`.
|
||||||
|
|
||||||
## Light-weight distribution packages
|
## Light-weight distribution packages
|
||||||
|
|
||||||
Including the tests and other useless information like .travis.yml in
|
Including the tests and other useless information like `.travis.yml` in
|
||||||
distributed packages is not a good idea.
|
distributed packages is not a good idea.
|
||||||
|
|
||||||
The `.gitattributes` file is a git specific file like `.gitignore` also living
|
The `.gitattributes` file is a git specific file like `.gitignore` also living
|
||||||
|
|
|
@ -20,7 +20,7 @@ If you really feel like you must do this, you have two options:
|
||||||
|
|
||||||
- Limit yourself to installing tagged releases (no dev versions), so that you
|
- Limit yourself to installing tagged releases (no dev versions), so that you
|
||||||
only get zipped installs, and avoid problems with the git "submodules".
|
only get zipped installs, and avoid problems with the git "submodules".
|
||||||
- Remove the .git directory of every dependency after the installation, then
|
- Remove the `.git` directory of every dependency after the installation, then
|
||||||
you can add them to your git repo. You can do that with `rm -rf vendor/**/.git`
|
you can add them to your git repo. You can do that with `rm -rf vendor/**/.git`
|
||||||
but this means you will have to delete those dependencies from disk before
|
but this means you will have to delete those dependencies from disk before
|
||||||
running composer update.
|
running composer update.
|
Loading…
Reference in New Issue