Skip to content

Specify path for scripts #6

@RobLoach

Description

@RobLoach

This would add the directories specified in "path" to PATH, allowing scripts to not need the bin/ prefix.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions