mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-04 02:25:32 +01:00
fix(justfile): running tests in Drupal
This commit is contained in:
parent
6531efe56e
commit
34e85ccdb4
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue