-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (18 loc) · 674 Bytes
/
Makefile
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
ifneq (,$(wildcard ./.env))
include .env
export
endif
build:
docker-compose build
up:
docker-compose up -d
down:
docker-compose down --remove-orphans
login:
docker-compose exec -u $(USER_ID):$(GROUP_ID) app sh --login
install:
docker-compose exec -u $(USER_ID):$(GROUP_ID) --env XDEBUG_MODE=off --env=COMPOSER_MEMORY_LIMIT=-1 app composer install
test:
docker-compose exec -u $(USER_ID):$(GROUP_ID) --env XDEBUG_MODE=off --env=COMPOSER_MEMORY_LIMIT=-1 app composer run-script --timeout=0 test
coverage:
docker-compose exec -u $(USER_ID):$(GROUP_ID) --env XDEBUG_MODE=coverage --env=COMPOSER_MEMORY_LIMIT=-1 app composer run-script --timeout=0 coverage