xforty / drush-deploy

Drupal deploy tool based on Capistrano and Drush
https://github.com/xforty/drush-deploy/wiki
Other
35 stars 4 forks source link

Allow the use of `--alias-path` drush arg #27

Open patcon opened 11 years ago

patcon commented 11 years ago

We're in the habit of storing drush alias files in with the project itself, and so we use drush aliases with the --alias-path=path/to/alias/dir arg. Copying to ~/.drush is something people can do, but was hoping we might be able to pass in MAKE_ARGS to make the aliases discoverable. Seem it's pass in late in the game, so not possible at the moment.

I'll likely dig into the issue later, but it's pretty simple to copy the alias file at this early stage of testing out drush-deploy, so this is pretty low priority :)

Cheers!

medlefsen commented 11 years ago

Other people have accomplished this by setting :drush to "drush --alias-path=..." in their Capfile. There is also remote_drush for when drush is run on the server. Would that work for what you want to do?

patcon commented 11 years ago

Actually, yeah -- that's perfect :) I'll give it a shot!