grumphp
grumphp copied to clipboard
[Task] Add bin/console task for Symfony
| Q | A |
|---|---|
| Version | next |
| Bug? | no |
| New feature? | yes |
| Question? | no |
| Documentation? | no |
| Related tickets |
Provide a task that makes it possible to run Symfony's bin/console with a specific command:
tasks:
symfony_console:
command: [ "lint:container", "-vvv"]
This will run : "./bin/console" "lint:container" "-vvv"
If the command fails (non-zero exit code), the grumphp task fails.
Running multiple symfony console commands (in parallel) is already covered:
tasks:
lint-container:
command: [ "lint:container", "-vvv"]
metadata:
task: symfony_console