-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
54 lines (36 loc) · 1.14 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
.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 exec -it php.uitdatabank bash
config:
sh ./docker/config.sh
install:
docker exec -it php.uitdatabank composer install
migrate:
docker exec -it php.uitdatabank ./vendor/bin/doctrine-dbal migrations:migrate --no-interaction
init: install migrate
ci:
docker exec -it php.uitdatabank composer ci
stan:
docker exec -it php.uitdatabank composer phpstan
cs:
docker exec -it php.uitdatabank composer cs
cs-fix:
docker exec -it php.uitdatabank composer cs-fix
test:
docker exec -it php.uitdatabank composer test
test-filter:
docker exec -it php.uitdatabank composer test -- --filter=$(filter)
test-group:
docker exec -it php.uitdatabank composer test -- --group=$(group)
feature-init:
docker exec -it php.uitdatabank composer feature -- --tags @init
feature-tag:
docker exec -it php.uitdatabank composer feature -- --tags $(tag)
feature:
docker exec -it php.uitdatabank composer feature -- --tags "~@init&&~@external"
feature-filter:
docker exec -it php.uitdatabank composer feature -- $(path)