-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
60 lines (40 loc) · 1.26 KB
/
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
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
.PHONY: up down bash config install migrate init ci stan cs cs-fix test feature
up:
docker-compose up -d
down:
docker-compose down
bash:
docker-compose exec php bash
config:
sh ./docker/config.sh
install:
docker-compose exec php composer install
migrate:
docker-compose exec php ./vendor/bin/doctrine-dbal migrations:migrate --no-interaction
init: install migrate
ci:
docker-compose exec php composer ci
stan:
docker-compose exec php composer phpstan
cs:
docker-compose exec php composer cs
cs-fix:
docker-compose exec php composer cs-fix
test:
docker-compose exec php composer test
test-filter:
docker-compose exec php composer test -- --filter=$(filter)
test-group:
docker-compose exec php composer test -- --group=$(group)
feature-init:
docker-compose exec php composer feature -- --tags @init
feature-tag:
docker-compose exec php composer feature -- --tags $(tag)
feature-ci:
docker-compose exec php composer feature -- --tags "~@init&&~@external&&~@pdf" -f pretty -o std -f junit -o output/junit
feature:
docker-compose exec php composer feature -- --tags "~@init&&~@external"
feature-filter:
docker-compose exec php composer feature -- $(path)
feature-random:
docker-compose exec php composer feature -- --order=random --tags "~@init&&~@external"