X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d-demos.git;a=blobdiff_plain;f=tools%2Fupdate%20web%20site;h=7442ab6ec64bc6dd2d2892c992cfb8954480bf79;hp=8f630847adf6139219c3f27e4321994a98b5e0f8;hb=da8f2647b4a28b9b2f1739f2fda955041f73663f;hpb=8699433dbd9238c4d926d78bd2e50f892fc51324 diff --git a/tools/update web site b/tools/update web site index 8f63084..7442ab6 100755 --- a/tools/update web site +++ b/tools/update web site @@ -1,27 +1,21 @@ #!/bin/bash -cd "${0%/*}"; if [ "$1" != "T" ]; then xterm -e "'$0' T"; exit; fi; +cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi; -# -# TODO: needs updating -# -# ( -# cd .. +cd .. -# mvn clean +# build application and javadoc +mvn clean package -# mkdir -p target/website/codegraphs +# copy generated javadoc for publishing on website +rm -rf doc/apidocs/ +cp -r target/apidocs/ doc/ -# mvn test package -e exec:java -Dexec.mainClass="eu.svjatoslav.sixth.DataGraph" -Dexec.classpathScope="test" +# copy runnable jar file for publishing on website +cp target/sixth-3d-demos.jar doc/ -# ( -# cd target/website/codegraphs/ -# meviz index -t Sixth -# ) +# deploy generated project homepage to server +rsync -avz --delete -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-3d-demos/ -# cp target/sixth.jar target/website/ - -# rsync -avz --delete target/website/ n0@svjatoslav.eu:/var/www/svjatoslav.eu/projects/sixth -# ) - -echo "Script finished. Press ENTER to close this terminal" +echo "" +echo "Press ENTER to close this window." read