phpzone/shell

基于YAML配置的命令/脚本生成器,基于PhpZone

0.2.0 2015-04-29 23:20 UTC

This package is not auto-updated.

Last update: 2024-09-14 17:00:53 UTC


README

Build Status Scrutinizer Code Quality SensioLabsInsight

Latest Stable Version Total Downloads License

通过YAML配置的命令/脚本生成器,基于PhpZone。其主要目的是为每个开发者的日常工作流程提供一种定义多个脚本的简单方式。

基本用法

例子说明百言,让我们看一个例子。

以下配置文件用于此扩展的开发

extensions:
    PhpZone\Shell\Shell:
        tests:
            description: Run all tests
            script:
                - bin/behat -f progress
                - bin/phpunit
                - bin/phpspec run -f progress
                - bin/phpcs -p --colors --standard=PSR2 src/ features/bootstrap/
                - bin/phpcs -p --colors --standard=vendor/jakubzapletal/php_codesniffer-rules/psr2-without-camel-case-method-name.xml spec/ integrations/

现在我们只需运行以下命令,所有测试都将执行

$ vendor/bin/phpzone tests

文档

更多详细信息,请访问PhpZone Shell文档