Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

DoReports.sh 588B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. # cron doesn't seem to like doing this iself...
  3. . /etc/profile
  4. # Path to trunk
  5. MYDIR="/home/dmdirc/google"
  6. # Path to ant binary
  7. ANT="/usr/bin/ant"
  8. # Path to svn binary
  9. SVN="/usr/bin/svn"
  10. /bin/sh $MYDIR/oblong.sh "Reports" "Style Report Generation Started";
  11. cd $MYDIR
  12. $SVN update
  13. if [ "$1" = "--all" ]; then
  14. $ANT -k -buildfile $MYDIR/doreports.xml doallreports
  15. elif [ "$1" = "--findbugs" ]; then
  16. $ANT -k -buildfile $MYDIR/style_build.xml findbugs
  17. else
  18. $ANT -k -buildfile $MYDIR/doreports.xml domostreports
  19. fi
  20. /bin/sh $MYDIR/oblong.sh "Reports" "Report Generation Complete"