mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-22 20:58:22 +00:00
feat(justfile): add phpunit
recipe
Add a `phpunit` recipe for running PHPUnit tests, with a `test` alias that could later be used for running Pest in PHP projects or Jest in a node project.
This commit is contained in:
parent
d45d0d6616
commit
5c6e25a660
|
@ -6,6 +6,11 @@ default:
|
||||||
{% if "php" is same as language %}
|
{% if "php" is same as language %}
|
||||||
composer *args:
|
composer *args:
|
||||||
{{ "just _exec php composer {{ args }}" | raw }}
|
{{ "just _exec php composer {{ args }}" | raw }}
|
||||||
|
|
||||||
|
alias phpunit := test
|
||||||
|
|
||||||
|
test *args:
|
||||||
|
{{ "just _run phpunit {{ args }}" | raw }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if "drupal-project" is same as type %}
|
{% if "drupal-project" is same as type %}
|
||||||
|
|
Loading…
Reference in a new issue