From: Svjatoslav Agejenko Date: Sun, 14 Jan 2018 20:39:11 +0000 (+0200) Subject: Script to update web site X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=a0a08c60de7fa199091f67898c6a734e2f879319;p=sixth-data.git Script to update web site --- diff --git a/.gitignore b/.gitignore index 26b6b1a..981c582 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -# Created by .ignore support plugin (hsz.mobi) /.idea/ +/target/ \ No newline at end of file diff --git a/tools/update web site b/tools/update web site index 8f63084..b268227 100755 --- a/tools/update web site +++ b/tools/update web site @@ -1,27 +1,18 @@ #!/bin/bash -cd "${0%/*}"; if [ "$1" != "T" ]; then xterm -e "'$0' T"; exit; fi; -# -# TODO: needs updating -# -# ( -# cd .. +cd "${0%/*}" +cd .. -# mvn clean -# mkdir -p target/website/codegraphs +mvn clean package -# mvn test package -e exec:java -Dexec.mainClass="eu.svjatoslav.sixth.DataGraph" -Dexec.classpathScope="test" +#rm -rf doc/graphs/ +#mkdir -p doc/graphs/ -# ( -# cd target/website/codegraphs/ -# meviz index -t Sixth -# ) +#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 -# cp target/sixth.jar target/website/ +#meviz index -w doc/graphs/ -t "Sixth 3D classes" -# 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-data/