phpzone/shell

A command/script builder configured by YAML, based on PhpZone

0.2.0 2015-04-29 23:20 UTC

This package is not auto-updated.

Last update: 2024-10-26 17:40:15 UTC


README

Build Status Scrutinizer Code Quality SensioLabsInsight

Latest Stable Version Total Downloads License

A command/script builder configured by YAML, based on PhpZone. Its primary purpose is to provide an easy way to define multiple scripts used in daily workflow of every developer.

Basic Usage

An example speaks a hundred words so let’s go through one.

The configuration file below is used for a development of this extension:

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/

Now we can just run following command and all tests would be executed:

$ vendor/bin/phpzone tests

Documentation

For more details visit PhpZone Shell documentation.