Skip to content

Commit

Permalink
sloc count script
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr committed Jul 16, 2011
1 parent 30772ed commit 7d7d264
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/count-sloc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
cd `dirname $0`/..
cloc --exclude-dir=src_managed,target,docs '--exclude-lang=XML,XSLT,HTML,CSS,Bourne Shell' .
2 changes: 2 additions & 0 deletions scripts/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
PREVIOUS=$1
NEXT=$2

cd `dirname $0`/..

while read p; do
echo "Changing $p"
sed -i s/$PREVIOUS/$NEXT/g $p
Expand Down

0 comments on commit 7d7d264

Please sign in to comment.