-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
taskfile.dist.yml
63 lines (56 loc) · 1.67 KB
/
taskfile.dist.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
version: '3'
tasks:
install:
desc: "📦 Install project dependencies using Composer."
cmds:
- composer install
aliases:
- i
- in
update:
desc: "🔄 Update project dependencies to the lowest possible versions within the specified version constraints, ensuring compatibility."
cmds:
- composer update --prefer-lowest -W
- npm run ncu
- npm install --force
aliases:
- u
- up
require:
desc: "➕ Require a project dependency using Composer."
cmds:
- composer require {{ .CLI_ARGS }}
aliases:
- req
lint:
desc: "🔍 Run various linting tools to ensure code quality."
cmds:
- vendor/bin/php-cs-fixer fix --dry-run
- vendor/bin/phpstan analyse
- composer validate --strict
- vendor/bin/phplint
- find src/ -name "composer.json" -exec composer validate --strict {} \;
aliases:
- pint
- check
- validate
fix:
desc: "🛠️ Automatically fix coding standards issues."
cmds:
- vendor/bin/php-cs-fixer fix
aliases:
- lintf
test:
desc: "✅ Run PHPUnit tests to verify the correctness of the codebase."
cmds:
- vendor/bin/phpunit
aliases:
- tests
- phpunit
- unit
security:
desc: "🔐 Check for security vulnerabilities in the project dependencies."
cmds:
- symfony security:check
aliases:
- seccheck