Skip to content

Commit

Permalink
Update script URLs to use the recommended default-ref (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
mscieszka authored May 18, 2024
1 parent 8d505ff commit 01cfaa8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion commands/web/expand-composer-json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export _WEB_ROOT=$DDEV_DOCROOT
[[ $DDEV_PROJECT_TYPE == "drupal9" ]] && export _TARGET_CORE=^9
[[ $DDEV_PROJECT_TYPE == "drupal8" ]] && export _TARGET_CORE=^8
cd "$DDEV_COMPOSER_ROOT" || exit
curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/expand_composer_json.php
curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/expand_composer_json.php
php expand_composer_json.php "$DDEV_SITENAME"
rm -f expand_composer_json.php
2 changes: 1 addition & 1 deletion commands/web/phpcbf
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ if ! command -v phpcbf >/dev/null; then
echo "phpcbf is not available. You may need to 'ddev composer install'"
exit 1
fi
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/phpcs.xml.dist
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/phpcs.xml.dist
phpcbf -s --report-full --report-summary --report-source web/modules/custom "$@"
2 changes: 1 addition & 1 deletion commands/web/phpcs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ if ! command -v phpcs >/dev/null; then
echo "phpcs is not available. You may need to 'ddev composer install'"
exit 1
fi
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/phpcs.xml.dist
test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/phpcs.xml.dist
phpcs -s --report-full --report-summary --report-source web/modules/custom "$@"
2 changes: 1 addition & 1 deletion commands/web/symlink-project
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
export _WEB_ROOT=$DDEV_DOCROOT
#todo use more dynamic ref.
cd "$DDEV_COMPOSER_ROOT" || exit
curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/1.0.x/scripts/symlink_project.php
curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/symlink_project.php

# Symlink name using underscores.
# @see https://www.drupal.org/docs/develop/creating-modules/naming-and-placing-your-drupal-module
Expand Down

0 comments on commit 01cfaa8

Please sign in to comment.