File tree Expand file tree Collapse file tree 6 files changed +8
-9
lines changed Expand file tree Collapse file tree 6 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 88# # ProjectTypes: drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
11- if yarn --cwd $DDEV_DOCROOT /core eslint --version > /dev/null ; then
12- yarn --cwd $DDEV_DOCROOT /core --config .eslintrc.legacy.json eslint ../modules/custom/** /* .js " $@ "
11+ if yarn --cwd " $DDEV_DOCROOT /core" eslint --version > /dev/null ; then
12+ yarn --cwd " $DDEV_DOCROOT /core" --config .eslintrc.legacy.json eslint ../modules/custom/** /* .js " $@ "
1313else
1414 echo " eslint is not available. You may need to 'ddev yarn --cwd $DDEV_DOCROOT /core install'"
1515 exit 1
1616fi
17-
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ export _WEB_ROOT=$DDEV_DOCROOT
1414[[ $DDEV_PROJECT_TYPE == " drupal8" ]] && export _TARGET_CORE=^8
1515cd " $DDEV_COMPOSER_ROOT " || exit
1616curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/expand_composer_json.php
17- php expand_composer_json.php $DDEV_SITENAME
17+ php expand_composer_json.php " $DDEV_SITENAME "
1818rm -f expand_composer_json.php
Original file line number Diff line number Diff line change 88# # ProjectTypes: drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
11- yarn --cwd $DDEV_DOCROOT /core test:nightwatch $DDEV_COMPOSER_ROOT /$DDEV_DOCROOT /modules/custom/ " $@ "
11+ yarn --cwd " $DDEV_DOCROOT /core" test:nightwatch " $DDEV_COMPOSER_ROOT /$DDEV_DOCROOT /modules/custom/" " $@ "
Original file line number Diff line number Diff line change 99# # ExecRaw: true
1010
1111export COMPOSER=composer.contrib.json
12- .ddev/commands/web/expand-composer-json $DDEV_PROJECT_NAME
12+ .ddev/commands/web/expand-composer-json " $DDEV_PROJECT_NAME "
1313composer install
1414rm composer.contrib.json composer.contrib.lock
Original file line number Diff line number Diff line change 88# # ProjectTypes: drupal8,drupal9,drupal10
99# # ExecRaw: true
1010
11- if yarn --cwd $DDEV_DOCROOT /core stylelint --version > /dev/null ; then
12- yarn --color --cwd $DDEV_DOCROOT /core --config ./.stylelintrc.json stylelint ../modules/custom/** /* .css " $@ "
11+ if yarn --cwd " $DDEV_DOCROOT /core" stylelint --version > /dev/null ; then
12+ yarn --color --cwd " $DDEV_DOCROOT /core" --config ./.stylelintrc.json stylelint ../modules/custom/** /* .css " $@ "
1313else
1414 echo " stylelint is not available. You may need to 'ddev yarn --cwd $DDEV_DOCROOT /core install'"
1515 exit 1
Original file line number Diff line number Diff line change @@ -12,5 +12,5 @@ export _WEB_ROOT=$DDEV_DOCROOT
1212# todo use more dynamic ref.
1313cd " $DDEV_COMPOSER_ROOT " || exit
1414curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/symlink_project.php
15- php symlink_project.php $DDEV_SITENAME
15+ php symlink_project.php " $DDEV_SITENAME "
1616rm -f symlink_project.php
You can’t perform that action at this time.
0 commit comments