Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Taskfile #242

Merged
merged 1 commit into from
Dec 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ app:
docker compose exec app bash
tinker:
docker compose exec app php artisan tinker
dump:
docker compose exec app php artisan dump-server
test:
docker compose exec app php artisan test
migrate:
Expand Down Expand Up @@ -80,3 +82,7 @@ ide-helper:
docker compose exec app php artisan ide-helper:generate
docker compose exec app php artisan ide-helper:meta
docker compose exec app php artisan ide-helper:models --nowrite
pint:
docker compose exec app ./vendor/bin/pint -v
pint-test:
docker compose exec app ./vendor/bin/pint -v --test
14 changes: 13 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,16 @@ tasks:

app:
cmds:
- docker compose exec web bash
- docker compose exec app bash

tinker:
cmds:
- docker compose exec app php artisan tinker

dump:
cmds:
- docker compose exec app php artisan dump-server

test:
cmds:
- docker compose exec app php artisan test
Expand Down Expand Up @@ -142,3 +146,11 @@ tasks:
- docker compose exec app php artisan ide-helper:generate
- docker compose exec app php artisan ide-helper:meta
- docker compose exec app php artisan ide-helper:models --nowrite

pint:
cmds:
- docker compose exec app ./vendor/bin/pint -v

pint-test:
cmds:
- docker compose exec app ./vendor/bin/pint -v --test