mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-05 10:55:33 +01:00
parent
cf25359c7b
commit
7978c03709
2 changed files with 10 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue