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

Use Composer Manager by default for Drupal 8 #60

Closed
grayside opened this issue Apr 5, 2016 · 1 comment
Closed

Use Composer Manager by default for Drupal 8 #60

grayside opened this issue Apr 5, 2016 · 1 comment

Comments

@grayside
Copy link
Contributor

grayside commented Apr 5, 2016

Drupal 8 modules sometimes have composer dependencies. As an intermediary step towards phase2/grunt-drupal-tasks#212, we should have out-of-box support for Composer Manager, and a 2-step composer install process.

  • Customize the build process to run composer manager & composer install in the docroot after drush make & scaffold is complete.
  • Research whether we can stash the lockfile somewhere else, say composer-drupal8.lock at the project root.

Example Script Invocation

"composer-manager": "cd <%= config.buildPaths.html %> && php ./modules/contrib/composer_manager/scripts/init.php && composer drupal-rebuild && composer update --lock && cd -",
@grayside
Copy link
Contributor Author

grayside commented Aug 9, 2016

Nope.

@grayside grayside closed this as completed Aug 9, 2016
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

No branches or pull requests

1 participant