diff --git a/templates/justfile.twig b/templates/justfile.twig index 8aacbc8..b391be1 100644 --- a/templates/justfile.twig +++ b/templates/justfile.twig @@ -19,8 +19,12 @@ composer *args: alias phpunit := test test *args: +{% if "drupal-project" is same as type %} + {{ "just _exec php phpunit --colors=always {{ args }}" | raw }} +{% else %} {{ "just _run php phpunit --colors=always {{ args }}" | raw }} {% endif %} +{% endif %} {% if "drupal-project" is same as type %} drush *args: