hammock / phpci-yarn-plugin
yarn 集成 PHPCI 插件
v0.0.2
2018-02-26 11:46 UTC
Requires
- php: >=5.4.0
Requires (Dev)
- block8/phpci: 1.6.x
This package is not auto-updated.
Last update: 2024-10-02 10:22:26 UTC
README
这是一个为 PHPCI 定制的插件,用于下载和安装应用程序所需的 npm 包。
安装插件
- 导航到 PHPCI 的根目录,并运行
composer require hammock/yarn-phpci-plugin - 如果您正在使用 PHPCI 守护进程,请重启它
- 更新您要部署的项目中的
phpci.yml
先决条件
- yarn 需要已安装。
插件选项
- command [字符串,必需] - 命令名称。见 文档
- directory [字符串,可选] - 运行 yarn 命令的相对路径。
- flags [列表,可选] - 命令标志
PHPCI 配置
Hammock\PHPCI\Yarn: command: install