Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 679 Bytes

shell.md

File metadata and controls

29 lines (21 loc) · 679 Bytes

Shell

The Shell task will run your automated shell scripts. It lives under the shell namespace and has following configurable parameters:

# grumphp.yml
parameters:
    tasks:
        shell:
            scripts: []
            triggered_by: [php]

scripts

Default: []

This options specifies the paths to your shell scripts. You can specify one or more scripts. All scripts need to succeed for the task to complete.

triggered_by

Default: [php]

This option will specify which file extensions will trigger the shell tasks. By default Shell will be triggered by altering a PHP file. You can overwrite this option to whatever file you want to use!