mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
refactor(justfile): add a run
recipe
This commit is contained in:
parent
9657ad693e
commit
d45d0d6616
|
@ -41,12 +41,11 @@ sync: clean build
|
|||
|
||||
{% if "laravel" is same as type %}
|
||||
artisan *args:
|
||||
docker compose run \
|
||||
--entrypoint php \
|
||||
--rm \
|
||||
--tty \
|
||||
php artisan {{ "{{ args }}" | raw }}
|
||||
{{ "just _run artisan {{ args }}" | raw }}
|
||||
{% endif %}
|
||||
|
||||
_exec +args:
|
||||
{{ "docker compose exec {{ args }}" | raw }}
|
||||
|
||||
_run command *args:
|
||||
{{ "docker compose run --rm --no-deps --entrypoint {{ command }} --tty php {{ args }}" | raw }}
|
||||
|
|
Loading…
Reference in a new issue