Skip to content

Commit

Permalink
symlink project with underscores instead of hyphens (#35)
Browse files Browse the repository at this point in the history
Co-authored-by: tyler36 <[email protected]>
  • Loading branch information
tyler36 and tyler36 authored Feb 29, 2024
1 parent d950078 commit de1eb04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion commands/web/symlink-project
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ 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
php symlink_project.php "$DDEV_SITENAME"

# Symlink name using underscores.
# @see https://www.drupal.org/docs/develop/creating-modules/naming-and-placing-your-drupal-module
php symlink_project.php "${DDEV_SITENAME//-/_}"
rm -f symlink_project.php

0 comments on commit de1eb04

Please sign in to comment.