]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
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 e47663b352d75b54f0bb42713e69e13e6bc9d3dd..45752804bc1f752ef741f88ff6472760c2d6a769 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 bcb1cc51f84d8ca183a77de37d996206f6e0be6e..ebfb1da20b618bc04b3637bd9e1e64eb233d7e5d 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 332b4d03f5c52e06467bdd6e4b0c6a85d7a14c09..04321b4af3a6968fc4e956c0c049f2fbf33c009a 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