Skip to content

Commit

Permalink
Add check for unzip
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Jun 5, 2017
1 parent 4d7ec8d commit 891d251
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
## master
[v5.0.3...master](https://github.com/deployphp/deployer/compare/v5.0.3...master)

-
# Added
- Check what `unzip` exists in `deploy:vendors` task


## v5.0.3
Expand Down
3 changes: 3 additions & 0 deletions recipe/deploy/vendors.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@

desc('Installing vendors');
task('deploy:vendors', function () {
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}} && {{env_vars}} {{bin/composer}} {{composer_options}}');
});

0 comments on commit 891d251

Please sign in to comment.