浏览代码

Clarify require-dev is only for root

Jordi Boggiano 12 年之前
父节点
当前提交
1923906bfc
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      doc/04-schema.md

+ 3 - 2
doc/04-schema.md

@@ -280,10 +280,11 @@ Example:
 Lists packages required by this package. The package will not be installed
 Lists packages required by this package. The package will not be installed
 unless those requirements can be met.
 unless those requirements can be met.
 
 
-#### require-dev
+#### require-dev <span>(root-only)</span>
 
 
 Lists packages required for developing this package, or running
 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
 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
 found with the packages listed in require. This is even true if a different