-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
53 lines (37 loc) · 973 Bytes
/
Makefile
File metadata and controls
53 lines (37 loc) · 973 Bytes
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
#theme-install:
# cd web/themes/custom/THEME && bun install
#theme-build:
# cd web/themes/custom/THEME && bun run build
cache:
docker compose run --rm php drush cr
theme: cache
update:
docker compose run --rm php composer update -W
docker compose run --rm php drush updb -y
docker compose run --rm php drush cr
docker compose run --rm php drush cex -y
deploy:
vendor/bin/dep deploy live
build:
docker compose build
start:
docker compose up -d
stop:
docker compose down
install:
docker compose run --rm php composer install
dump:
docker compose exec database mysqldump -udrupal -pdrupal drupal > drupal.sql
################################################################################
# Utilization of packed binaries (bin/*)
################################################################################
# Lint PHP files
lint-php:
bin/lint-php
# Run all linters
lint: lint-php
phpcs:
bin/phpcs
phpstan:
bin/phpstan
qa: lint phpcs phpstan