Browse Source

Committing current DoReports.sh


git-svn-id: http://svn.dmdirc.com/trunk@2023 00569f92-eb28-0410-84fd-f71c24880f
tags/0.5
Shane Mc Cormack 17 years ago
parent
commit
6b615b7c65
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      DoReports.sh

+ 3
- 2
DoReports.sh View File

10
 # Path to svn binary
10
 # Path to svn binary
11
 SVN="/usr/bin/svn"
11
 SVN="/usr/bin/svn"
12
 
12
 
13
-/bin/sh $MYDIR/oblong.sh "Reports" "Style Report Generation Started";
13
+#/bin/sh $MYDIR/oblong.sh "Reports" "Style Report Generation Started";
14
 cd $MYDIR
14
 cd $MYDIR
15
 $SVN update
15
 $SVN update
16
+$ANT clean
16
 if [ "$1" = "--all" ]; then
17
 if [ "$1" = "--all" ]; then
17
 	$ANT -k -buildfile $MYDIR/doreports.xml doallreports
18
 	$ANT -k -buildfile $MYDIR/doreports.xml doallreports
18
 elif [ "$1" = "--findbugs" ]; then
19
 elif [ "$1" = "--findbugs" ]; then
24
 PASSRATE=`expr "$LINE" : '.*<td>\(.*\)%</td>'`
25
 PASSRATE=`expr "$LINE" : '.*<td>\(.*\)%</td>'`
25
 if [ "${PASSRATE}" = "" ]; then
26
 if [ "${PASSRATE}" = "" ]; then
26
 	/bin/sh $MYDIR/oblong.sh "Reports" "Report Generation Complete (Junit tests failed to run)"
27
 	/bin/sh $MYDIR/oblong.sh "Reports" "Report Generation Complete (Junit tests failed to run)"
27
-+else
28
+else
28
 	/bin/sh $MYDIR/oblong.sh "Reports" "Report Generation Complete (Junit Pass Rate: ${PASSRATE}%)"
29
 	/bin/sh $MYDIR/oblong.sh "Reports" "Report Generation Complete (Junit Pass Rate: ${PASSRATE}%)"
29
 fi
30
 fi

Loading…
Cancel
Save