mglaman / phpci-drush
将 Drush 添加到 PHPCI
dev-master
2015-05-19 20:56 UTC
Requires
- drush/drush: 7.0.0-rc2
This package is auto-updated.
Last update: 2024-09-13 17:47:00 UTC
README
PHPCI 的 Drush 插件
使用说明
添加到 PHPCI
将包添加到 PHPCI 的 composer 必需项目。
composer require mglaman/phpci-drush
在项目中使用
输出当前 Drush 版本。
\mglaman\PhpciPlugins\DrushPlugin:
command: "version"
启用特定模块。
\mglaman\PhpciPlugins\DrushPlugin:
command: "pm-enable"
arguments:
- "ctools"
- "panels"
- "page_manager"
options:
- "yes"
运行 makefile。
\mglaman\PhpciPlugins\DrushPlugin:
command: "make"
arguments:
- "drupal-org.make.yml"
options:
- "verbose"
- "no-cache"
- "no-core"
- "contrib-destination=."
- "yes"