Skip to content

new parameter for drush from Vendor directory#17

Open
outermedia-sol wants to merge 5 commits intocytopia:masterfrom
outermedia-sol:master
Open

new parameter for drush from Vendor directory#17
outermedia-sol wants to merge 5 commits intocytopia:masterfrom
outermedia-sol:master

Conversation

@outermedia-sol
Copy link
Copy Markdown

Added new Parameter -v to indicate to use Vendor parameter
If -v is added as parameter /../vendor/drush/drush/drush is added to the path
default for DRUSH is then /../vendor/drush/drush/drush

Only problem: could not get it to run with --config param. There was an error while checking is_drupal_root_dir. Therefore I just moved that setting to after this check.

`[preflight] Unable to parse at line 1 (near "<?php").``

outermedia-sol and others added 5 commits September 19, 2019 22:43
Added new Parameter -v to indicate to use Vendor parameter
If -v is added as parameter /../vendor/drush/drush/drush is added to the path
default for DRUSH is then <drupal root>/../vendor/drush/drush/drush

Only problem: could not get it to run with --config param. There was an error while checking is_drupal_root_dir. Therefore I just moved that setting to after this check. 

`[preflight] Unable to parse at line 1 (near "<?php").``
add check for vendor drush with new parameter
move check if drush command is installed after initializing the parameter
@daylicron
Copy link
Copy Markdown

@outermedia-sol Thank you very much for this. It is exactly what I was looking for, to fix our current problem! :)

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.

3 participants