-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (29 loc) · 967 Bytes
/
Makefile
File metadata and controls
41 lines (29 loc) · 967 Bytes
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
help:
@ echo "Usage: make <target>\n"
@ echo "Available targets:\n"
@ cat Makefile | grep -oE "^[^: ]+:" | grep -oE "[^:]+" | grep -Ev "help|default|.PHONY"
run:
docker-compose up -d
stop:
docker-compose down
container-bash:
docker-compose exec task-api-php-fpm bash
build-dev:
docker-compose exec task-api-php-fpm composer build-dev
standards:
docker-compose exec task-api-php-fpm composer standards
standards-fix:
docker-compose exec task-api-php-fpm composer standards-fix
phpstan:
docker-compose exec task-api-php-fpm composer phpstan
.PHONY: tests
tests:
docker-compose exec task-api-php-fpm composer tests
check-all:
docker-compose exec task-api-php-fpm composer check-all
migrations-diff:
docker-compose exec task-api-php-fpm composer migrations-diff
migrations-migrate:
docker-compose exec task-api-php-fpm composer migrations-migrate
generate-open-api-schema:
docker-compose exec task-api-php-fpm composer generate-open-api-schema