diff options
Diffstat (limited to 'tools/buildbot-utils.sh')
-rwxr-xr-x | tools/buildbot-utils.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/buildbot-utils.sh b/tools/buildbot-utils.sh index 899a9a3eb7..32ed234d90 100755 --- a/tools/buildbot-utils.sh +++ b/tools/buildbot-utils.sh @@ -35,3 +35,25 @@ if [ -t 1 ]; then nc='\033[0m' fi + +function msginfo() { + local heading="$1" + shift + local message="$*" + echo -e "${green}${heading}${nc} ${message}" +} + +function msgwarning() { + local message="$*" + echo -e "${boldmagenta}Warning: ${nc}${message}" +} + +function msgerror() { + local message="$*" + echo -e "${boldred}Error: ${nc}${message}" +} + +function msgnote() { + local message="$*" + echo -e "${boldcyan}Note: ${nc}${message}" +} |