X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-data.git;a=blobdiff_plain;f=tools%2Fupdate%20web%20site;h=c2219a2842307dbe84186d72ecc2ba175b72acff;hp=8f630847adf6139219c3f27e4321994a98b5e0f8;hb=ead12f9a7396ee3a29fb97205924bafe8a33d47d;hpb=45c3bd94e38fc74268429d4441e730aec28492bf diff --git a/tools/update web site b/tools/update web site index 8f63084..c2219a2 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 -e "'$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