fix(justfile): running tests in Drupal

This commit is contained in:
Oliver Davies 2023-05-09 20:24:21 +01:00
parent 6531efe56e
commit 34e85ccdb4

View file

@ -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: