From 3d3e021ae057e8e5a227568e2601ccc4b4906e01 Mon Sep 17 00:00:00 2001 From: bcw Date: Sun, 22 Jun 2014 18:12:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=A1=E5=AF=B9=EF=BC=8C=E6=B6=A6=E7=A8=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cn-introduction/articles/vendor-binaries.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/cn-introduction/articles/vendor-binaries.md b/cn-introduction/articles/vendor-binaries.md index d5a5ab1..4abfd96 100644 --- a/cn-introduction/articles/vendor-binaries.md +++ b/cn-introduction/articles/vendor-binaries.md @@ -27,17 +27,12 @@ ## 在 composer.json 里定义二进制供应库的作用是? -It instructs Composer to install the package's binaries to `vendor/bin` -for any project that **depends** on that project. +对于任何 **依赖于** 该资源包的项目, +它将引导 Composer 安装资源包里的二进制文件到 `vendor/bin` 目录。 -他指导 Composer 如何安装资源包里的二进制文件到 `vendor/bin`, -以方便所有**依赖于**该项目的项目引用。 +这是一个便捷的途径来暴露有用的脚本, +否则它们将会被隐藏在 `vendor/` 目录的深处。 -This is a convenient way to expose useful scripts that would -otherwise be hidden deep in the `vendor/` directory. - -这是一个不错的,只暴露有用的脚本,同时把其他用不上的脚本深深地隐藏在 `vendor/` 目录里的 -方法。 ## 当 Composer 运行于定义了二进制供应库的 composer.json 时发生了什么?