From beee06d93bedc7a830bfddca0fe5f6c0554439fd Mon Sep 17 00:00:00 2001 From: Niels Braczek Date: Wed, 25 Nov 2020 15:16:21 +0100 Subject: [PATCH] Don't include development related files in distribution package --- .gitattributes | 9 +++++++-- README.md | 6 ++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index bfb8d8914..9650c5438 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,10 @@ +.github/ export-ignore +.travis/ export-ignore +Tests/ export-ignore +.appveyor.yml export-ignore .gitattributes export-ignore .gitignore export-ignore -.gitmodules export-ignore -.travis/ export-ignore .travis.yml export-ignore +phpunit.appveyor.xml export-ignore +phpunit.xml.dist export-ignore +ruleset.xml export-ignore diff --git a/README.md b/README.md index 847ab00f3..0cd18a937 100644 --- a/README.md +++ b/README.md @@ -188,3 +188,9 @@ Alternatively, you can simply run the following from the command line: ```sh composer require joomla/database "~1.0" ``` + +If you want to include the test sources, use + +```sh +composer require --prefer-source joomla/database "~1.0" +```