projects
/
sixth-3d-demos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed license to Creative Commons Zero (CC0).
[sixth-3d-demos.git]
/
tools
/
update web site
diff --git
a/tools/update web site
b/tools/update web site
index
8f63084
..
7442ab6
100755
(executable)
--- a/
tools/update web site
+++ b/
tools/update web site
@@
-1,27
+1,21
@@
#!/bin/bash
#!/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
+# build application and javadoc
+mvn clean package
-# mkdir -p target/website/codegraphs
+# copy generated javadoc for publishing on website
+rm -rf doc/apidocs/
+cp -r target/apidocs/ doc/
-# mvn test package -e exec:java -Dexec.mainClass="eu.svjatoslav.sixth.DataGraph" -Dexec.classpathScope="test"
+# copy runnable jar file for publishing on website
+cp target/sixth-3d-demos.jar doc/
-# (
-# cd target/website/codegraphs/
-# meviz index -t Sixth
-# )
+# deploy generated project homepage to server
+rsync -avz --delete -e 'ssh -p 10006' doc/ n0@www3.svjatoslav.eu:/mnt/big/projects/sixth-3d-demos/
-# 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
read