-
Notifications
You must be signed in to change notification settings - Fork 1
/
Taskfile.yaml
68 lines (56 loc) · 1.82 KB
/
Taskfile.yaml
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
64
65
66
67
68
---
version: '2'
tasks:
setup:
desc: "Setup dev env"
cmds:
- task: up
- docker-compose exec -e COMPOSER_MEMORY_LIMIT=-1 php-fpm composer install
- docker-compose exec php-fpm utils/symfony-application/bin/console d:m:m -n --env=test
- docker-compose exec php-fpm utils/symfony-application/bin/console a:i utils/symfony-application/public -n --env=test
up:
desc: "Up all containers"
cmds:
- docker-compose build --pull
- docker-compose up -d --remove-orphans
down:
desc: "Down all containers"
cmds:
- docker-compose down
sh:
desc: "Jump into application container"
cmds:
- docker-compose exec php-fpm bash
start-web-server:
desc: "Start symfony local web server"
cmds:
- docker-compose exec php-fpm symfony server:stop
- docker-compose exec php-fpm symfony server:start -d
stop-web-server:
desc: "Stop symfony local web server"
cmds:
- docker-compose exec php-fpm symfony server:stop
test:
desc: "Test headless cms"
cmds:
- docker-compose exec php-fpm composer codecept
phpstan:
desc: "Phpstan analyse"
cmds:
- docker-compose exec php-fpm composer phpstan
rector:
desc: "Phpstan analyse"
cmds:
- docker-compose exec php-fpm composer rector
php-cs-fixer:
desc: "Phpstan analyse"
cmds:
- docker-compose exec php-fpm composer php-cs-fixer
deptrac:
desc: "Phpstan analyse"
cmds:
- docker-compose exec php-fpm composer deptrac
psalm:
desc: "Phpstan analyse"
cmds:
- docker-compose exec php-fpm composer psalm