Skip to content

Commit

Permalink
Adds tools for building
Browse files Browse the repository at this point in the history
This especialy adds the removeBasePath-Script, that removes the base path
from the code-coverage pages so that only the relevant informations are
displayed there
  • Loading branch information
heiglandreas committed Nov 2, 2011
1 parent 958dded commit 7565c8b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tools/removeBasePath.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash
#
# Replace the given basePath from the CodeCoverage reports
#
BASE_PATH=$1
PWD="`pwd`";
for i in `grep -r $BASE_PATH $PWD | cut -d ":" -f 1`; do
sed -i -E "s#$BASE_PATH##g" $i;
done;

0 comments on commit 7565c8b

Please sign in to comment.