git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2242 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Tom Copeland
2003-09-05 14:37:40 +00:00
parent 3bc5b38e38
commit 5ea9e7033a

View File

@ -3,15 +3,15 @@
option="${1}"
if [ -z $option ]; then
echo "Generating from pom and transforming xdocs"
maven -b xdoc:generate-from-pom xdoc:transform
echo "Generating from pom, regenerating ruleset docs, and transforming"
maven -b xdoc:generate-from-pom pmd:ruleset-docs xdoc:transform
elif [ $option = "all" ]; then
echo "Running maven pmd-site"
rm -rf target
maven pmd-site
elif [ $option = "upload" ]; then
echo "Generating xdocs and uploading"
maven -b xdoc:transform
maven -b xdoc:generate-from-pom pmd:ruleset-docs xdoc:transform
DOCS_FILE=docs.tar.gz
cp xdocs/cpdresults.txt xdocs/cpp_cpdresults.txt target/docs/
cd target