mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
parent
cf25359c7b
commit
7978c03709
|
@ -40,6 +40,7 @@ final class ConfigurationValidator implements ValidatorInterface
|
|||
new Assert\Choice([
|
||||
'drupal-project',
|
||||
'fractal',
|
||||
'laravel',
|
||||
'php-library',
|
||||
]),
|
||||
],
|
||||
|
|
|
@ -26,5 +26,14 @@ fractal *args:
|
|||
{{ "just yarn fractal {{ args }}" | raw }}
|
||||
{% endif %}
|
||||
|
||||
{% if "laravel" is same as type %}
|
||||
artisan *args:
|
||||
docker compose run \
|
||||
--entrypoint php \
|
||||
--rm \
|
||||
--tty \
|
||||
php artisan {{ "{{ args }}" | raw }}
|
||||
{% endif %}
|
||||
|
||||
_exec +args:
|
||||
{{ "docker compose exec {{ args }}" | raw }}
|
||||
|
|
Loading…
Reference in a new issue