-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lando.yml
55 lines (55 loc) · 1.73 KB
/
.lando.yml
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
name: drupal-lando-boilerplate
recipe: drupal8
config:
webroot: www
database: mysql
php: 7.4
via: apache
drush: '*'
xdebug: true
services:
appserver:
build:
- composer install
- >-
/app/vendor/bin/phpcs --config-set installed_paths
/app/vendor/drupal/coder/coder_sniffer
overrides:
environment:
# Support debugging Drush with XDEBUG.
PHP_IDE_CONFIG: "serverName=appserver"
tooling:
site-install:
service: appserver
cmd: >-
chmod 555 .lando/settings/site_config.sh && chmod 555 .lando/scripts/site_install.sh && .lando/scripts/site_install.sh
description: Initialize/Create/reinstall site.
composer-reset:
service: appserver
cmd: >-
chmod 555 .lando/scripts/composer_reset.sh && .lando/scripts/composer_reset.sh
description: Re install composer.
site-update:
service: appserver
cmd: >-
chmod 555 .lando/scripts/site_update.sh && .lando/scripts/site_update.sh
description: Update local environment.
phpcs:
service: appserver
cmd: >-
/app/vendor/bin/phpcs --standard=Drupal,DrupalPractice -p --colors ./www/modules/custom
options: null
description: Run phpcs to list all php code style evaluations.
phpcs-fix:
service: appserver
cmd: >-
/app/vendor/bin/phpcbf --standard=Drupal,DrupalPractice -p --colors ./www/modules/custom
options: null
description: >-
Run phpcsf to fix all php code style evaluations that can be fixed automatically.
phpcs-summary:
service: appserver
cmd: >-
/app/vendor/bin/phpcs --report=summary --standard=Drupal,DrupalPractice -p --colors ./www/modules/custom
options: null
description: Run phpcs to summary php code style evaluations.