Skip to content

WIP: Adding composer.json#104

Open
RoySegall wants to merge 1 commit into
masterfrom
103
Open

WIP: Adding composer.json#104
RoySegall wants to merge 1 commit into
masterfrom
103

Conversation

@RoySegall
Copy link
Copy Markdown

#103

I started by creating the things we into composer file. We don't need bootstrap but it's looked good enough to see how it's interact.

One more critical issue is patching. Composer don't support it out of the box like drush make but I found a script for that - https://github.com/jpstacey/composer-patcher - but when running it I got:

Composer\Patcher\PatcherPlugin::postPackageInstall
PHP Fatal error: Call to undefined method Composer\Script\Event::getOperation() in /Applications/MAMP/htdocs/composer-drupal/vendor/jpstacey/composer-patcher/src/Composer/Patcher/PatcherPlugin.php on line 48

Fatal error: Call to undefined method Composer\Script\Event::getOperation() in /Applications/MAMP/htdocs/composer-drupal/vendor/jpstacey/composer-patcher/src/Composer/Patcher/PatcherPlugin.php on line 48

Any way it's look very very cool.

@amitaibu
Copy link
Copy Markdown
Member

amitaibu commented Mar 8, 2016

Thanks. About patches @pcambra has found a nice solution -- http://cambrico.net/en/drupal/using-composer-to-build-your-drupal-7-projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants