From eb0e241a02bd03dc9dd91fc8256c4aa577579f21 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sun, 14 Jan 2018 22:51:22 +0200 Subject: [PATCH] Updated script to deploy project web site. --- tools/update web site | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/tools/update web site b/tools/update web site index 8f63084..6136ba4 100755 --- a/tools/update web site +++ b/tools/update web site @@ -1,27 +1,17 @@ #!/bin/bash -cd "${0%/*}"; if [ "$1" != "T" ]; then xterm -e "'$0' T"; exit; fi; +cd "${0%/*}" +cd .. -# -# TODO: needs updating -# -# ( -# cd .. -# mvn clean +mvn clean package -# mkdir -p target/website/codegraphs +#rm -rf doc/graphs/ +#mkdir -p doc/graphs/ -# mvn test package -e exec:java -Dexec.mainClass="eu.svjatoslav.sixth.DataGraph" -Dexec.classpathScope="test" +#javainspect -j target/sixth-3d-*-SNAPSHOT.jar -d doc/graphs/ -n "all classes" -t png -h +#javainspect -j target/sixth-3d-*-SNAPSHOT.jar -d doc/graphs/ -n "GUI" -t png -w "eu.svjatoslav.sixth.e3d.gui.*" -h +#javainspect -j target/sixth-3d-*-SNAPSHOT.jar -d doc/graphs/ -n "raster engine" -t png -w "eu.svjatoslav.sixth.e3d.renderer.raster.*" -h -# ( -# cd target/website/codegraphs/ -# meviz index -t Sixth -# ) +#meviz index -w doc/graphs/ -t "Sixth 3D classes" -# 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" -read +rsync -avz --delete -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-3d-demos/ -- 2.20.1