mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-07 21:01:03 +00:00
Updated build script
This commit is contained in:
1 parent
4d9452c163
commit
04876cbe0e
1 file changed
+3
-3
@@ -43,7 +43,7 @@ active_branch=`basename $active_branch`
|
||||
cd $ACDIR
|
||||
active_server=`basename $ACDIR`
|
||||
|
||||
if [ "$active_branch" = "$server_instance" ]; then
|
||||
if [[ "$active_branch" == "$active_server" ]]; then
|
||||
echo "INFO: GIT branch and server branch matching ($active_server)"
|
||||
else
|
||||
echo "ERROR: The current branch ($active_branch) does not match the current server ($active_server)."
|
||||
@@ -51,7 +51,7 @@ else
|
||||
fi
|
||||
|
||||
shift $((OPTIND-1))
|
||||
echo "Starting $@ of server...""
|
||||
echo "Starting $@ of server..."
|
||||
|
||||
if [ ! -d "plugins" ]; then
|
||||
mkdir plugins
|
||||
@@ -60,7 +60,7 @@ fi
|
||||
# yield build so that we get updated product
|
||||
cd $PROJECT_HOME/java
|
||||
if [ $gwtcompile -eq 1 ]; then
|
||||
echo "INFO: Compiling GWT"
|
||||
echo "INFO: Compiling GWT (rm -rf com.sap.sailing.gwt.ui/com.sap.sailing.*)"
|
||||
rm -rf com.sap.sailing.gwt.ui/com.sap.sailing.*
|
||||
else
|
||||
echo "INFO: GWT Compilation disabled"
|
||||
|
||||
Reference in new issue
Block a user