forked from phoedos/pmd
tweak
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@2242 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user