-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
270 changed files
with
12,329 additions
and
1,735 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
## Description: Destroys and rebuilds the DDEV environment. This will delete and reinstall all dependencies. | ||
## Usage: rebuild | ||
## Example: "ddev rebuild" | ||
|
||
ddev stop | ||
ddev delete --omit-snapshot --yes | ||
rm -r -f vendor $DDEV_DOCROOT composer.* | ||
ddev start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env sh | ||
|
||
## Description: Applies a recipe. | ||
## Usage: apply-recipe RELATIVE_PATH | ||
## Example: "ddev apply-recipe recipes/dxpr_cms_power_tools" | ||
## Example: "ddev apply-recipe core/recipes/editorial_workflow" | ||
|
||
cd $DDEV_DOCROOT && php core/scripts/drupal recipe $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env sh | ||
|
||
## Description: Creates a new Dxpr CMS recipe stub and adds it to the project. | ||
## Usage: create-recipe NAME | ||
## Example: "ddev create-recipe dxpr_cms_power_tools" | ||
|
||
if [ -d $1 ]; then | ||
echo "This recipe already exists, cowardly refusing to continue." | ||
exit 1 | ||
fi | ||
|
||
mkdir $1 | ||
composer init --no-interaction --working-dir=$1 --name=drupal/$1 --type=drupal-recipe --require="drupal/core:>=10.3" | ||
composer config version dev-main --working-dir=$1 | ||
|
||
$HOME/bin/refresh-components | ||
composer require --no-update --working-dir=dxpr_cms "drupal/$1:*" | ||
composer update drupal/dxpr_cms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Contains system-wide, user-specific configuration for Drush. These options are | ||
# only used for local development. | ||
# @see https://drush.org/latest/using-drush-configuration | ||
command: | ||
site: | ||
install: | ||
options: | ||
account-pass: admin | ||
site-name: Dxpr Cms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env sh | ||
# | ||
# Adds all Dxpr CMS components as globally available path repositories. | ||
# | ||
composer config --global --unset repositories | ||
|
||
for path in $(find $PWD -maxdepth 1 -type d -name 'dxpr_cms*'); do | ||
composer config --global repositories.$(basename $path) path $path | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.