X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=blobdiff_plain;f=tools%2Fupdate%20web%20site;h=1350337dde1f56c10b27bb80e231b5b31589bfdb;hb=c20ef78b553cad795177f4415a20ba8f581426b9;hp=8f630847adf6139219c3f27e4321994a98b5e0f8;hpb=45c3bd94e38fc74268429d4441e730aec28492bf;p=sixth-data.git diff --git a/tools/update web site b/tools/update web site index 8f63084..1350337 100755 --- a/tools/update web site +++ b/tools/update web site @@ -1,27 +1,15 @@ #!/bin/bash -cd "${0%/*}"; if [ "$1" != "T" ]; then xterm -e "'$0' T"; exit; fi; +cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -- "$0" T; exit; fi -# -# TODO: needs updating -# -# ( -# cd .. +cd .. -# mvn clean +mvn clean package -# mkdir -p target/website/codegraphs +# rm -rf doc/apidocs/ +# cp -r target/apidocs/ doc/ -# mvn test package -e exec:java -Dexec.mainClass="eu.svjatoslav.sixth.DataGraph" -Dexec.classpathScope="test" +rsync -avz --delete -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-data/ -# ( -# cd target/website/codegraphs/ -# meviz index -t Sixth -# ) - -# 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