mirror of
https://github.com/opdavies/build-configs.git
synced 2025-02-02 05:47:32 +00:00
fix(justfile): remove hard-coded service name
Add the service name as a parameter and include it from the `phpunit` recipe.
This commit is contained in:
parent
5c6e25a660
commit
1303656f4a
|
@ -10,7 +10,7 @@ composer *args:
|
|||
alias phpunit := test
|
||||
|
||||
test *args:
|
||||
{{ "just _run phpunit {{ args }}" | raw }}
|
||||
{{ "just _run php phpunit {{ args }}" | raw }}
|
||||
{% endif %}
|
||||
|
||||
{% if "drupal-project" is same as type %}
|
||||
|
@ -52,5 +52,5 @@ artisan *args:
|
|||
_exec +args:
|
||||
{{ "docker compose exec {{ args }}" | raw }}
|
||||
|
||||
_run command *args:
|
||||
{{ "docker compose run --rm --no-deps --entrypoint {{ command }} --tty php {{ args }}" | raw }}
|
||||
_run service command *args:
|
||||
{{ "docker compose run --rm --no-deps --entrypoint {{ command }} --tty {{ service }} {{ args }}" | raw }}
|
||||
|
|
Loading…
Reference in a new issue