From b34220edc8ed738bce3f682248622976543d6ec4 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 7 Jan 2013 18:55:55 +0100 Subject: [PATCH] Remove docs about light-weight packages --- doc/02-libraries.md | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/doc/02-libraries.md b/doc/02-libraries.md index bce2f677e275..8d8dd568d33d 100644 --- a/doc/02-libraries.md +++ b/doc/02-libraries.md @@ -115,33 +115,6 @@ on it. It only has an effect on the main project. If you do not want to commit the lock file and you are using git, add it to the `.gitignore`. -## Light-weight distribution packages - -Some useless information like `.travis.yml`, or large examples should typically -not be included in distributed packages. - -The `.gitattributes` file is a git specific file like `.gitignore` also living -at the root directory of your library. It overrides local and global -configuration (`.git/config` and `~/.gitconfig` respectively) when present and -tracked by git. - -Use `.gitattributes` to prevent unwanted files from bloating the zip -distribution packages. - - // .gitattributes - /demo export-ignore - phpunit.xml.dist export-ignore - /Resources/doc/ export-ignore - .travis.yml export-ignore - -Test it by inspecting the zip file generated manually: - - git archive branchName --format zip -o file.zip - -> **Note:** Files would be still tracked by git just not included in the -> zip distribution. This will only work for GitHub packages installed from -> dist (i.e. tagged releases) for now. - ## Publishing to a VCS Once you have a vcs repository (version control system, e.g. git) containing a