-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 725 Bytes
/
Makefile
File metadata and controls
30 lines (22 loc) · 725 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
init: docker-down docker-pull docker-build docker-up api-composer-install
migration: api-migration-start
down: docker-down
up: docker-up
unit-test: api-test-unit
functional-test: api-test-functional
docker-up:
docker-compose up -d
docker-down:
docker-compose down -v --remove-orphans
docker-pull:
docker-compose pull
docker-build:
docker-compose build
api-composer-install:
docker-compose run --rm api-php-cli composer install
api-migration-start:
docker-compose run --rm api-php-cli php bin/console doctrine:migrations:migrate
api-test-unit:
docker-compose run --rm api-php-cli composer test -- --testsuite=unit
api-test-functional:
docker-compose run --rm api-php-cli composer test -- --testsuite=functional