mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
new function in bb plugin
Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
parent
e91604d729
commit
7306953c94
1 changed files with 22 additions and 0 deletions
|
|
@ -91,3 +91,25 @@ function bb_push_with_care()
|
||||||
echo "Display merged:"
|
echo "Display merged:"
|
||||||
git log --pretty=oneline --graph -3 | cat
|
git log --pretty=oneline --graph -3 | cat
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function bb_start_slaves()
|
||||||
|
{
|
||||||
|
DIR=$(basename $PWD)
|
||||||
|
if [[ $DIR == "config" ]]; then
|
||||||
|
~/bin/buildslave start ~/data/buildbot-developer
|
||||||
|
~/bin/buildslave start ~/data/buildbot-developer2
|
||||||
|
else
|
||||||
|
~/bin/buildslave start ~/data/buildbot/
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
function bb_stop_slaves()
|
||||||
|
{
|
||||||
|
DIR=$(basename $PWD)
|
||||||
|
if [[ $DIR == "config" ]]; then
|
||||||
|
~/bin/buildslave stop ~/data/buildbot-developer
|
||||||
|
~/bin/buildslave stop ~/data/buildbot-developer2
|
||||||
|
else
|
||||||
|
~/bin/buildslave stop ~/data/buildbot/
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue