Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save r115/9973134 to your computer and use it in GitHub Desktop.
Save r115/9973134 to your computer and use it in GitHub Desktop.
<?php
$adam = array(
'remote-host' => 'adammalone.net',
'root' => '/var/www/html/adammalone/docroot',
'uri' => 'adammalone.net',
'strict' => 0,
'path-aliases' => array(
'%dump-dir' => '/home/adammalone/.drush/dumps',
'%files' => 'sites/default/files',
),
'env' => 'prod',
'#prod' => '@adammalone.prod',
);
$aliases['adammalone.prod'] = $adam;
$aliases['adammalone.test'] = array(
'remote-host' => 'dev.adammalone.net',
'env' => 'test',
) + $adam;
$aliases['adammalone.dev'] = array(
'root' => '/Users/adam.malone/sites/adammalone.net',
'env' => 'dev',
) + $adam;
unset($aliases['adammalone.dev']['remote-host']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment