grumphp icon indicating copy to clipboard operation
grumphp copied to clipboard

[Task] Add bin/console task for Symfony

Open veewee opened this issue 1 year ago • 0 comments

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

veewee avatar Feb 28 '24 10:02 veewee