aboutsummaryrefslogtreecommitdiffstats
path: root/dist.sh
Commit message (Expand)AuthorAgeFilesLines
* [Minor] Simplify creation of dist tarball that is reproduciblePeter Wu2020-01-181-18/+14
* Use mktemp when availableVsevolod Stakhov2015-11-301-1/+7
* Support dist on FreeBSD and Darwin.Vsevolod Stakhov2015-06-301-3/+5
* Add 'dist' target.Vsevolod Stakhov2014-09-051-2/+2
* Add a simple distribution script.Vsevolod Stakhov2014-09-051-0/+25
or: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/sh

# Script to update javadoc deployed in svn

pushd gwtquery-core
mvn javadoc:javadoc
popd

cp -r gwtquery-core/target/site/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/site/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/site/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 '{}' ';'


svn commit -m 'updated javadocs' gwtquery-core/javadoc/