Code refactoring
[sixth-3d.git] / tools / update web site
1 #!/bin/bash
2 cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi;
3
4 cd ..
5
6 mvn clean package
7
8 rm -rf doc/graphs/
9 mkdir -p doc/graphs/
10
11 javainspect -j target/sixth-3d-*-SNAPSHOT.jar -d doc/graphs/ -n "all classes" -t png -h
12 javainspect -j target/sixth-3d-*-SNAPSHOT.jar -d doc/graphs/ -n "GUI" -t png -w "eu.svjatoslav.sixth.e3d.gui.*" -h
13 javainspect -j target/sixth-3d-*-SNAPSHOT.jar -d doc/graphs/ -n "raster engine" -t png -w "eu.svjatoslav.sixth.e3d.renderer.raster.*" -h
14
15 meviz index -w doc/graphs/ -t "Sixth 3D classes"
16
17 rm -rf doc/apidocs/
18 cp -r target/apidocs/ doc/
19
20 rsync -avz --delete  -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-3d/
21
22 echo ""
23 echo "Press ENTER to close this window."
24 read