-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
76 lines (52 loc) · 1.72 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
start: docker.down.clear docker.pull docker.build.pull docker.up app.init
stop: docker.down.clear
restart: stop start
check: cs.lint analyse test
docker.up:
docker compose up -d
docker.down.clear:
docker compose down -v --remove-orphans
docker.pull:
docker compose pull
docker.build.pull:
docker compose build --pull
app.init: composer.install
pnpm install
composer.install:
docker compose run --rm php-cli composer install
composer.dump:
docker compose run --rm php-cli composer dump-autoload
composer.update:
docker compose run --rm php-cli composer update
composer.require:
docker compose run --rm php-cli composer require $(p)
cs.lint:
docker compose run --rm php-cli composer cs.lint
cs.fix:
docker compose run --rm php-cli composer cs.fix
analyse:
docker compose run --rm php-cli composer analyse
test:
docker compose run --rm php-cli composer test
cli:
docker compose run --rm php-cli php bin/app.php --ansi $(command)
cli.list:
docker compose run --rm php-cli php bin/app.php --ansi
cli.migrations.status:
docker compose run --rm php-cli php bin/app.php --ansi migrations:status
cli.migrations.diff:
docker compose run --rm php-cli php bin/app.php --ansi migrations:diff --formatted
cli.migrations.list:
docker compose run --rm php-cli php bin/app.php --ansi migrations:list
cli.migrations.run:
docker compose run --rm php-cli php bin/app.php --ansi migrations:migrate
monorepo.merge:
vendor/bin/monorepo-builder merge
monorepo.validate:
vendor/bin/monorepo-builder validate
monorepo.release.patch:
vendor/bin/monorepo-builder release patch --dry-run
monorepo.release.minor:
vendor/bin/monorepo-builder release minor --dry-run
monorepo.release.major:
vendor/bin/monorepo-builder release major --dry-run