forked from gothinkster/realworld-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkool.yml
20 lines (19 loc) · 750 Bytes
/
kool.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Here you can define shortcuts and aliases to common tasks (commands)
# you will run in your local environment or CI or deploy.
# Use the scripts defined below with:
# $ kool run <script>
# Learn more at: https://kool.dev/docs/getting-started/how-it-works#koolyml
scripts:
composer: kool exec app composer
console: kool exec app php ./bin/console
phpunit: kool exec app php ./bin/phpunit
phpstan: kool exec app php ./vendor/bin/phpstan
bash: kool exec app /bin/bash
setup:
- kool start
- kool run composer install
# - kool run console doctrine:migrations:migrate -n
# CLI access to PostgreSQL
psql: kool exec -e PGPASSWORD=$DB_PASSWORD database psql -U $DB_USERNAME $DB_DATABASE
reset:
- kool run yarn install