grumphp:
git_hook_variables:
EXEC_GRUMPHP_COMMAND: lando php
If we start using DDEV, it would always run Lando on git commit.
For now I've created this. More info here https://github.com/wunderio/drupal-project/issues/393
grumphp:
git_hook_variables:
EXEC_GRUMPHP_COMMAND: "[ -d .ddev/traefik/ ] && GRUMPHP_COMMAND='ddev php' || GRUMPHP_COMMAND='lando php' && $GRUMPHP_COMMAND"
I think the ideal solution would be that this package replaces the line in grumph.yml
We have this in all of our projects:
grumphp: git_hook_variables: EXEC_GRUMPHP_COMMAND: lando php
If we start using DDEV, it would always run Lando on git commit.
For now I've created this. More info here https://github.com/wunderio/drupal-project/issues/393 grumphp: git_hook_variables: EXEC_GRUMPHP_COMMAND: "[ -d .ddev/traefik/ ] && GRUMPHP_COMMAND='ddev php' || GRUMPHP_COMMAND='lando php' && $GRUMPHP_COMMAND"
I think the ideal solution would be that this package replaces the line in grumph.yml