From 1923906bfc523464e8b5ccced61fd0c0df651629 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 3 Jul 2012 09:17:09 +0200 Subject: [PATCH] Clarify require-dev is only for root --- doc/04-schema.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/04-schema.md b/doc/04-schema.md index 74b386964..c65961d7c 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -280,10 +280,11 @@ Example: Lists packages required by this package. The package will not be installed unless those requirements can be met. -#### require-dev +#### require-dev (root-only) Lists packages required for developing this package, or running -tests, etc. They are installed if install or update is ran with `--dev`. +tests, etc. The dev requirements of the root package only will be installed +if `install` or `update` is ran with `--dev`. Packages listed here and their dependencies can not overrule the resolution found with the packages listed in require. This is even true if a different