-
Notifications
You must be signed in to change notification settings - Fork 9
Convert Drush aliases to Drush 9 syntax (fixes #326). #332
base: master
Are you sure you want to change the base?
Conversation
@@ -27,11 +27,11 @@ popd > /dev/null | |||
# Parse project config | |||
PROJECTCONF=$ROOT/conf/project.yml | |||
eval $(parse_yaml $PROJECTCONF) | |||
ALIASFILE=${project_name}.aliases.drushrc.php | |||
ALIASTARGET=$HOME/.drush/$ALIASFILE | |||
ALIASFILE=self.site.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alias filename should be unique across projects, otherwise only the first one will work as later projects are unable to create their alias file.
@@ -0,0 +1,51 @@ | |||
# Docs at https://github.com/drush-ops/drush/blob/master/examples/example.site.yml | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be Lando specific environment here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The lando drush
command is the correct way to run drush inside lando. There should generally be no need to run drush on the host.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this also work for running drush commands on remote servers?
@@ -0,0 +1,10 @@ | |||
#!/bin/bash | |||
|
|||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make more sense to keep the old PATH as well or is this not important?
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:$PATH
Fixes #326.
Done
.lando.yml
build.sh
Setup.md
Todo
Questions