mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
fix(justfile): running tests in Drupal
This commit is contained in:
parent
6531efe56e
commit
34e85ccdb4
|
@ -19,8 +19,12 @@ composer *args:
|
||||||
alias phpunit := test
|
alias phpunit := test
|
||||||
|
|
||||||
test *args:
|
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 }}
|
{{ "just _run php phpunit --colors=always {{ args }}" | raw }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if "drupal-project" is same as type %}
|
{% if "drupal-project" is same as type %}
|
||||||
drush *args:
|
drush *args:
|
||||||
|
|
Loading…
Reference in a new issue