-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
85 lines (56 loc) · 1.46 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
77
78
79
80
81
82
83
84
85
.PHONY: up down bash install composer-install npm-install key-generate migrate lint stan ci config
up:
vendor/bin/sail up -d
down:
vendor/bin/sail down
restart: down up
destroy:
vendor/bin/sail down -v
bash:
docker-compose exec laravel bash
config:
./config.sh
install: composer-install key-generate migrate seed npm-install npm-build
composer-install:
vendor/bin/sail composer install
key-generate:
vendor/bin/sail artisan key:generate
migrate:
vendor/bin/sail artisan migrate
seed:
vendor/bin/sail artisan db:seed
horizon:
vendor/bin/sail artisan horizon
lint:
vendor/bin/sail composer lint
stan:
vendor/bin/sail composer stan
test:
vendor/bin/sail composer test
test-filter:
vendor/bin/sail composer test -- --filter=$(filter)
test-insightly:
vendor/bin/sail composer test tests/Insightly/HttpInsightlyClientTest.php
ci: lint stan test
npm-install:
vendor/bin/sail npm install
npm-dev:
vendor/bin/sail npm run dev
npm-build:
vendor/bin/sail npm run build
npm-format:
vendor/bin/sail npm run format
npm-format-check:
vendor/bin/sail npm run format:check
npm-lint:
vendor/bin/sail npm run lint
npm-lint-check:
vendor/bin/sail npm run lint:check
npm-types-check:
vendor/bin/sail npm run types:check
e2e-install:
docker-compose exec laravel npx playwright install chromium --with-deps
test-e2e:
docker-compose exec laravel npx playwright test $(options)
test-e2e-filter:
docker-compose exec laravel npx playwright test "$(filter)" $(options)