mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-08 05:11:04 +00:00
Added option to deploy start page really fast
This commit is contained in:
1 parent
5a79e71a4f
commit
93cb68810a
1 file changed
+12
@@ -447,3 +447,15 @@ if [[ "$@" == "remote-deploy" ]]; then
|
||||
|
||||
echo "Restarted remote server. Please check."
|
||||
fi
|
||||
|
||||
if [[ "$@" == "deploy-startpage" ]]; then
|
||||
TARGET_DIR_STARTPAGE=$ACDIR/tmp/jetty-0.0.0.0-8889-bundlefile-_-any-/webapp/
|
||||
read -s -n1 -p "Copying $PROJECT_HOME/java/com.sap.sailing.www/index.html to $TARGET_DIR_STARTPAGE - is this ok (y/n)?" answer
|
||||
case $answer in
|
||||
"Y" | "y") OK=1;;
|
||||
*) echo "Aborting... nothing has been changed for startpage!"
|
||||
exit;;
|
||||
esac
|
||||
|
||||
cp $PROJECT_HOME/java/com.sap.sailing.www/index.html $TARGET_DIR_STARTPAGE
|
||||
fi
|
||||
Reference in new issue
Block a user