-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
29 lines (22 loc) · 1.2 KB
/
Copy pathTaskfile.yml
File metadata and controls
29 lines (22 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# https://taskfile.dev
version: '3'
tasks:
# ── Testing ───────────────────────────────────────────────────
test:php:
desc: Run PHPUnit tests for Auth module
cmd: php artisan test --testsuite=Modules --filter='^Modules\\Auth\\Tests'
test:e2e:
desc: Run E2E tests for Auth module
cmd: npx playwright test --project="@auth*" {{.CLI_ARGS}}
interactive: true
# ── Database ──────────────────────────────────────────────────
db:seed:
desc: Seed the Auth module database
cmd: '{{.APP}} php artisan modules:seed --module=auth'
make-admin:
desc: Promote an user to Admin
cmd: '{{.APP}} php artisan auth:make-admin'
# ── Code Generation ────────────────────────────────────────────
types:generate:
desc: Generate TypeScript types from PHP DTOs and enums
cmd: '{{.APP}} php artisan module:generate-types auth'