diff options
author | Manolo Carrasco <manolo@apache.org> | 2010-06-23 10:07:09 +0000 |
---|---|---|
committer | Manolo Carrasco <manolo@apache.org> | 2010-06-23 10:07:09 +0000 |
commit | 4e8f9d97c4276bbe8477d5f98f305a3b7ec59dbf (patch) | |
tree | e43e680a5a4ab011ab735e074c99898ca4601865 /update_docs_svn.sh | |
parent | 695fd72a1fa1cd50f96b1eda8e37bfd7e4d2e234 (diff) | |
download | gwtquery-4e8f9d97c4276bbe8477d5f98f305a3b7ec59dbf.tar.gz gwtquery-4e8f9d97c4276bbe8477d5f98f305a3b7ec59dbf.zip |
updated maven snapshots, demos and javadocs
Diffstat (limited to 'update_docs_svn.sh')
-rw-r--r-- | update_docs_svn.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/update_docs_svn.sh b/update_docs_svn.sh new file mode 100644 index 00000000..dddb3101 --- /dev/null +++ b/update_docs_svn.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +# Script to update javadoc deployed in svn + +cp -r gwtquery-core/target/apidocs/* gwtquery-core/javadoc/ + +for i in `find gwtquery-core/javadoc/ -type d | grep -v .svn | sed -e 's#gwtquery-core/javadoc/##g' ` +do + [ ! -d gwtquery-core/target/apidocs/$i ] && svn delete gwtquery-core/javadoc/$i +done + +for i in `find gwtquery-core/javadoc/ -type f | grep -v .svn | sed -e 's#gwtquery-core/javadoc/##g' ` +do + [ ! -f gwtquery-core/target/apidocs/$i ] && svn delete gwtquery-core/javadoc/$i +done + +find gwtquery-core/javadoc/ | grep -v .svn | xargs svn add + +find gwtquery-core/javadoc/ -type f -name "*html" -exec svn propset svn:mime-type text/html '{}' ';' |