New projects added + some fixes for excluding jratecalc:
authorRoland Haeder <roland@mxchange.org>
Sat, 9 Apr 2016 11:19:40 +0000 (13:19 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 9 Apr 2016 11:19:40 +0000 (13:19 +0200)
- new projects jcustomer-core (model + POJOs/POJIs) and jcustomer-lib (remote interface) added
- some fixes for excluding jratecalc in many steps

Signed-off-by: Roland Haeder <roland@mxchange.org>
.jprojects.sh
fix-project-remotes.sh
push-stick.sh

index e47663b..4575280 100644 (file)
@@ -9,6 +9,7 @@ LIST="jcore jcore-logger-lib jcore-logger-ejb jcoreee \
        jletter-core jletter-lib jletter-ejb \
        jmailer-ee \
        jcore-swing \
+       jcustomer-core jcustomer-lib \
        jshop-core jshop-ee-lib jshop-ejb \
        jshop-receipt-lib jshop-receipt-ejb"
 
index bcb1cc5..ebfb1da 100755 (executable)
@@ -20,7 +20,7 @@ MEDIA_PATH="Java Project"
 
 for project in ${LIST}; do
        echo "$0: project='${project}'"
-       SKIP_TEST="${project:0,9}"
+       SKIP_TEST="${project:0:9}"
 
        if [ "${SKIP_TEST}" = "jratecalc" ]
        then
index 332b4d0..04321b4 100755 (executable)
@@ -17,23 +17,22 @@ then
 fi
 
 for project in ${LIST}; do
-       echo "$0: Pushing '${project}' ..."
+       echo "$0: Processing '${project}',mode='$1' ..."
        cd "${JPROJECTS_HOME}/${project}" || exit 255
 
-       SKIP_TEST="${project:0,9}"
+       SKIP_TEST="${project:0:9}"
 
-       if [ -z "$2" ]
+       if [ -z "$2" -o "${SKIP_TEST}" = "jratecalc" ]
        then
-               git push --all
+               echo "$0: Pushing '${project}',mode='$1' ..."
+               git push --all || exit 255
        fi
 
        if [ "${SKIP_TEST}" = "jratecalc" ]
        then
                echo "$0: Not continuing for jratecalc project '${project}'."
                continue
-       fi
-
-       if [ "$1" = "d" ]
+       elif [ "$1" = "d" ]
        then
                git push --all daedalus
        elif [ "$1" = "t" ]
@@ -43,5 +42,6 @@ for project in ${LIST}; do
        then
                git push --all upstream
        fi
+
        cd "${JPROJECTS_HOME}"
 done