forked from Hexlet/hexlet-sicp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (35 loc) · 778 Bytes
/
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
include make-compose.mk
test:
php artisan test
test-coverage:
XDEBUG_MODE=coverage php artisan test --coverage-clover build/logs/clover.xml
setup: env-prepare sqlite-prepare install key db-prepare
install:
composer install
npm ci
start:
heroku local -f Procfile.dev
db-prepare:
php artisan migrate --seed
lint:
composer exec phpcs -v
lint-fix:
composer exec phpcbf -v
analyse:
composer exec phpstan analyse -v
config-clear:
php artisan config:clear
deploy:
git push heroku master
env-prepare:
cp -n .env.example .env || true
sqlite-prepare:
touch database/database.sqlite
key:
php artisan key:generate
ide-helper:
php artisan ide-helper:eloquent
php artisan ide-helper:gen
php artisan ide-helper:meta
php artisan ide-helper:mod -n
.PHONY: test