Add buildQueued plugin hook

This commit is contained in:
Shea Levy
2017-05-24 09:45:31 -04:00
parent 3d044d2ec2
commit 582c399420
4 changed files with 19 additions and 0 deletions

View File

@ -20,6 +20,11 @@ sub instantiate {
return @$plugins;
}
# Called when build $build has been queued.
sub buildQueued {
my ($self, $build) = @_;
}
# Called when build $build has started.
sub buildStarted {
my ($self, $build) = @_;

View File

@ -69,6 +69,10 @@ sub common {
}
}
sub buildQueued {
common(@_, [], 0);
}
sub buildStarted {
common(@_, [], 0);
}