Revision: 7912 http://languagetool.svn.sourceforge.net/languagetool/?rev=7912&view=rev Author: dnaber Date: 2012-08-23 21:09:07 +0000 (Thu, 23 Aug 2012) Log Message: ----------- adapt to new server
Modified Paths: -------------- trunk/website/create-snapshot.sh Modified: trunk/website/create-snapshot.sh =================================================================== --- trunk/website/create-snapshot.sh 2012-08-23 17:16:42 UTC (rev 7911) +++ trunk/website/create-snapshot.sh 2012-08-23 21:09:07 UTC (rev 7912) @@ -1,16 +1,16 @@ #!/bin/sh # compiles the current LanguageTool code and moves the result to a snapshots directory +SNAPSHOT_DIR=../website-from-svn/www/download/snapshots + cd /home/languagetool/languagetool.org svn up svn-checkout cd svn-checkout -ant dist -mv dist/LanguageTool-*-dev.oxt ../www/download/snapshots/LanguageTool-`date +%Y%m%d`-snapshot.oxt +ant dist && mv dist/LanguageTool-*-dev.oxt $SNAPSHOT_DIR/LanguageTool-`date +%Y%m%d`-snapshot.oxt -ant dist-standalone -mv dist/LanguageTool-*-dev.zip ../www/download/snapshots/LanguageTool-`date +%Y%m%d`-snapshot.zip +ant dist-standalone && mv dist/LanguageTool-*-dev.zip $SNAPSHOT_DIR/LanguageTool-`date +%Y%m%d`-snapshot.zip # delete *.oxt files older than 5 days: -rm `find ../www/download/snapshots/ -name "*.oxt" -mtime +5` -rm `find ../www/download/snapshots/ -name "*.zip" -mtime +5` +rm `find $SNAPSHOT_DIR -name "*.oxt" -mtime +5` +rm `find $SNAPSHOT_DIR -name "*.zip" -mtime +5` This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Languagetool-cvs mailing list Languagetool-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-cvs