Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Adding composer.json #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

WIP: Adding composer.json #104

wants to merge 1 commit into from

Conversation

RoySegall
Copy link

#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
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