hechoendrupal / drupal-console-core

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

[develop:contribute] doesn't install the required modules for translating after install Drupal #374

Closed novia713 closed 4 years ago

novia713 commented 4 years ago

i was testing develop:contribute and noticed it successfully downloads the project and then install correctly Drupal, but afterwards fails to install the required modules:

Captura de pantalla 2019-11-09 a las 12 36 45

I think it doesn't find the path to the recently created Drupal site, and I've tried adding the root option but it won't work. Not sure if i am adding wrongly the option or it is not honor my ~/.console/chain/develop-contribute.yml :-/

  - command: 'module:install'
    arguments:
      module:
        - rest
        - taxonomy
        - locale
        - migrate
        - simpletest
        - breakpoint
        - node
        - views
        - features
    options:
      root: {{drupal}}

/cc @enzolutions

novia713 commented 4 years ago

got it working. finally i used this approach, because i don't know other way of how to pass root option to module:install

- command: exec
    arguments:
      bin: drupal module:install rest taxonomy locale migrate simpletest breakpoint node views features --root={{drupal}}

PR at https://github.com/hechoendrupal/drupal-console-core/pull/375

novia713 commented 4 years ago

merged