Ticket #3508: colorbb

File colorbb, 387 bytes (added by mloskot <mateusz@…>, 13 years ago)

Wrapper for bjam to colourise it's output and pipe through less

Line 
1#!/bin/bash
2#
3# Wrapper around bjam, to colorize it's output and pipe through less.
4# Jumps to the first error that occurs during the build process.
5#
6# BEGIN OF CONFIGURATION
7# Update settings below if necessary:
8COLORBB="/home/mloskot/dev/mloskot/_git/workshop/scripts/colorbb/colorbb.pl"
9BJAM=`which bjam`
10# END OF CONFIGURATION
11
12${BJAM} "$@" 2>&1 | ${COLORBB}
13exit ${PIPESTATUS[0]}