Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Commit

Permalink
Switch from drupal-composer/drupal-scaffold to drupal/core-composer-s…
Browse files Browse the repository at this point in the history
…caffold (#112)
  • Loading branch information
balsama authored and phenaproxima committed Jan 16, 2020
1 parent 22c03a4 commit 59d4a2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ install:
- rm composer.lock - rm composer.lock
# Update code base to HEAD. # Update code base to HEAD.
- composer require acquia/lightning:dev-8.x-4.x --no-update - composer require acquia/lightning:dev-8.x-4.x --no-update
# Workaround until Issue #3091285 is resolved.
- chmod -R +w docroot/sites/default
- composer update - composer update


# Run database and Lightning config updates. # Run database and Lightning config updates.
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": { "require": {
"acquia/lightning": "^4.0", "acquia/lightning": "^4.0",
"cweagans/composer-patches": "^1.6.0", "cweagans/composer-patches": "^1.6.0",
"drupal-composer/drupal-scaffold": "^2.0.0" "drupal/core-composer-scaffold": "*"
}, },
"require-dev": { "require-dev": {
"drush/drush": "^9.0" "drush/drush": "^9.0"
Expand All @@ -16,6 +16,11 @@
}, },
"extra": { "extra": {
"composer-exit-on-patch-failure": true, "composer-exit-on-patch-failure": true,
"drupal-scaffold": {
"locations": {
"web-root": "docroot/"
}
},
"enable-patching": true, "enable-patching": true,
"installer-paths": { "installer-paths": {
"docroot/core": [ "docroot/core": [
Expand Down Expand Up @@ -57,8 +62,6 @@
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true, "prefer-stable": true,
"scripts": { "scripts": {
"post-install-cmd": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
"post-update-cmd": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
"post-create-project-cmd": "rm -r -f .travis.yml behat.yml .travis-ci", "post-create-project-cmd": "rm -r -f .travis.yml behat.yml .travis-ci",
"quick-start": [ "quick-start": [
"composer install", "composer install",
Expand Down

0 comments on commit 59d4a2b

Please sign in to comment.