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([
|
new Assert\Choice([
|
||||||
'drupal-project',
|
'drupal-project',
|
||||||
'fractal',
|
'fractal',
|
||||||
|
'laravel',
|
||||||
'php-library',
|
'php-library',
|
||||||
]),
|
]),
|
||||||
],
|
],
|
||||||
|
|
|
@ -26,5 +26,14 @@ fractal *args:
|
||||||
{{ "just yarn fractal {{ args }}" | raw }}
|
{{ "just yarn fractal {{ args }}" | raw }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if "laravel" is same as type %}
|
||||||
|
artisan *args:
|
||||||
|
docker compose run \
|
||||||
|
--entrypoint php \
|
||||||
|
--rm \
|
||||||
|
--tty \
|
||||||
|
php artisan {{ "{{ args }}" | raw }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
_exec +args:
|
_exec +args:
|
||||||
{{ "docker compose exec {{ args }}" | raw }}
|
{{ "docker compose exec {{ args }}" | raw }}
|
||||||
|
|
Loading…
Reference in a new issue