Skip to content

Instantly share code, notes, and snippets.

@petersuhm
Created February 19, 2015 08:34
Show Gist options
  • Save petersuhm/9b7f4e4886519fc3a8a8 to your computer and use it in GitHub Desktop.
Save petersuhm/9b7f4e4886519fc3a8a8 to your computer and use it in GitHub Desktop.
Example wppusher.php file for running Composer.
<?php
return array(
// Each string will be passed to the shell as a command.
'commands' => array(
'composer install',
),
// Defaults to true and is not required.
// If set to false, installing and update can take a long time
// and may seem like it's 'hanging'.
// 'async' => false,
// Defaults to true, meaning that if one command fails,
// the following commands won't be executed.
// 'halt_on_fail' => false,
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment