-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-f or --file doesnt work #1479
Comments
Try add command name like |
|
Works for me. |
mydeploy.php <?php
namespace Deployer;
require 'recipe/common.php';
task('my:task', function () {
$process = new \Symfony\Component\Process\Process("sleep 1");
throw new \Symfony\Component\Process\Exception\ProcessTimedOutException($process, \Symfony\Component\Process\Exception\ProcessTimedOutException::TYPE_GENERAL);
});
task('my:task2', function () {
$process = new \Symfony\Component\Process\Process("sleep 10");
throw new \Symfony\Component\Process\Exception\ProcessTimedOutException($process, \Symfony\Component\Process\Exception\ProcessTimedOutException::TYPE_GENERAL);
});
fail('my:task', 'my:failed');
fail('my:task2', 'my:failed');
task('my:failed', function() {
echo ('(boom) '. gethostname() .': failed');
})->setPrivate(); |
Found problem. Try to use
|
ohh my, you are right. as other arguments work without this thx for the hint. I guess this problem exists also in other places |
I have the same problem except that no options at all are being recognised by I have added Tried: Is there a chance, the function EDIT: I've just read that, using
So I made sure that the |
Took so long! But fixed! |
Description
-f
and also--file
dont find custom named deployer fileAs I understood the option, I guess this should work:
I would expect that I get the "help" screen like I get when invoking only
dep
and I have a regulardeploy.php
The text was updated successfully, but these errors were encountered: