File: cmake

package info (click to toggle)
colormake 0.2-3.2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 160 kB
  • ctags: 4
  • sloc: perl: 72; makefile: 56; sh: 27
file content (9 lines) | stat: -rwxr-xr-x 252 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/bash
#
# Wrapper around make, to colorize it's output and pipe through less.
# Jumps to the first gcc error that occurs during the build process.
#

SIZE=`/bin/stty size`
/usr/bin/make $* 2>&1 | /usr/bin/colormake.pl $SIZE
echo ${PIPESTATUS[0]}