Skip to content

Instantly share code, notes, and snippets.

@wenzowski
Created April 23, 2018 23:31
Show Gist options
  • Save wenzowski/d10046691baad55bd538a00e23037d02 to your computer and use it in GitHub Desktop.
Save wenzowski/d10046691baad55bd538a00e23037d02 to your computer and use it in GitHub Desktop.
drupalwxt/wxt

drupalwxt/wxt

Patches necessary to change install folder location from html/ to web/

diff --git a/web/themes/custom/wxt_bootstrap/composer.json b/web/themes/custom/wxt_bootstrap/composer.json
index 269c310..e440929 100644
--- a/web/themes/custom/wxt_bootstrap/composer.json
+++ b/web/themes/custom/wxt_bootstrap/composer.json
@@ -19,25 +19,25 @@
"prefer-stable": true,
"extra": {
"installer-paths": {
- "html/core": [
+ "web/core": [
"type:drupal-core"
],
- "html/libraries/{$name}" : [
+ "web/libraries/{$name}" : [
"type:drupal-library"
],
- "html/modules/custom/{$name}": [
+ "web/modules/custom/{$name}": [
"drupal/wxt_library"
],
- "html/modules/contrib/{$name}": [
+ "web/modules/contrib/{$name}": [
"type:drupal-module"
],
- "html/profiles/{$name}": [
+ "web/profiles/{$name}": [
"type:drupal-profile"
],
- "html/themes/custom/{$name}": [
+ "web/themes/custom/{$name}": [
"drupal/wxt_bootstrap"
],
- "html/themes/contrib/{$name}": [
+ "web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/contrib/{$name}": [
diff --git a/web/modules/custom/wxt_library/composer.json b/web/modules/custom/wxt_library/composer.json
index f2bd9af..46a97fe 100644
--- a/web/modules/custom/wxt_library/composer.json
+++ b/web/modules/custom/wxt_library/composer.json
@@ -144,25 +144,25 @@
"prefer-stable": true,
"extra": {
"installer-paths": {
- "html/core": [
+ "web/core": [
"type:drupal-core"
],
- "html/libraries/{$name}" : [
+ "web/libraries/{$name}" : [
"type:drupal-library"
],
- "html/modules/custom/{$name}": [
+ "web/modules/custom/{$name}": [
"drupal/wxt_library"
],
- "html/modules/contrib/{$name}": [
+ "web/modules/contrib/{$name}": [
"type:drupal-module"
],
- "html/profiles/{$name}": [
+ "web/profiles/{$name}": [
"type:drupal-profile"
],
- "html/themes/custom/{$name}": [
+ "web/themes/custom/{$name}": [
"drupal/wxt_bootstrap"
],
- "html/themes/contrib/{$name}": [
+ "web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/contrib/{$name}": [
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment