public
Last active

  • Download Gist
adammalone.aliases.drushrc.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?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']);

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.