OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/sed -f | |
2 | |
Mark Mentovai
2010/12/13 18:54:13
Give me some stupid boilerplate lice.
Also, make
| |
3 # Use this sed script to reduce a Mac build log into something readable. | |
4 | |
5 # Drop uninformative lines. | |
6 /^distcc/d | |
7 /^Check dependencies/d | |
8 /^ setenv /d | |
9 /^ cd /d | |
10 /^make: nothing to be done/d | |
11 | |
12 # Xcode prints a short "compiling foobar.o" line followed by the lengthy | |
13 # full command line. These deletions drop the command line. | |
14 \|^ /Developer/usr/bin/|d | |
15 | |
16 # Shorten the "compiling foobar.o" line. | |
17 s|^Distributed-CompileC \(.*\) normal i386 c++ com.apple.compilers.gcc.4_2| C C \1| | |
18 s|^CompileC \(.*\) normal i386 c++ com.apple.compilers.gcc.4_2| CC \1| | |
OLD | NEW |