hechoendrupal / drupal-console-core

This project contains commands and features to be shared across DrupalConsole projects.
134 stars 69 forks source link

Why is GD required? #64

Open geerlingguy opened 7 years ago

geerlingguy commented 7 years ago

According to https://github.com/hechoendrupal/drupal-console-core/blob/19ef9a767ccc675d9b0032a5b91746ebbc9f09e5/config/dist/phpcheck.yml#L14, the PHP GD extension is required... it seems this might only be used for building docs via GitBook or something like that—but it's not really required for any day-to-day Drupal Console usage. Is it possible to get that out of the requirements, so installs where console is only needed for CLI use (on a workstation or server that doesn't run Drupal itself) don't need to install GD?

jmolivas commented 7 years ago

@geerlingguy That file check your system to confirm if will be able to run Drupal we based on this https://www.drupal.org/docs/7/system-requirements/php

geerlingguy commented 7 years ago

But technically drupal (Console) can be run separately (in different environments) than Drupal itself runs... so wouldn't it just need to check on it's own requirements? Drupal itself does a check at install time for any missing PHP requirements.

jmolivas commented 7 years ago

We can probably have dependencies definition and check separated by launcher and site.