deployer/recipe/deploy/vendors.php

17 lines
522 B
PHP
Raw Normal View History

2016-11-19 15:13:32 +07:00
<?php
/* (c) Anton Medvedev <anton@medv.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Deployer;
desc('Installing vendors');
task('deploy:vendors', function () {
2017-06-05 12:53:01 +07:00
if (!commandExist('unzip')) {
writeln('<comment>To speed up composer installation setup "unzip" command with PHP zip extension https://goo.gl/sxzFcD</comment>');
}
run('cd {{release_path}} && {{bin/composer}} {{composer_options}}');
2016-11-19 15:13:32 +07:00
});