From ac9cba1f08f42798eb04f47de690c5750e488be2 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Sun, 27 Oct 2013 03:58:29 +0100 Subject: [PATCH] [New] added a bootstrap_https.sh for https cloning on CI --- bootstrap_https.sh | 84 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100755 bootstrap_https.sh diff --git a/bootstrap_https.sh b/bootstrap_https.sh new file mode 100755 index 000000000..207b90218 --- /dev/null +++ b/bootstrap_https.sh @@ -0,0 +1,84 @@ +#!/bin/bash +####################################################################### +## +## Bootstrap developing of strolch projects by cloning all the +## projects. +## +####################################################################### + +echo "Cloning all strolch projects..." + +if [ -d li.strolch.parent ] ; then + echo "Project li.strolch.parent already cloned." +else + if ! git clone https://github.com/eitch/li.strolch.parent.git ; then + exit 1 + fi + echo +fi + +if [ -d li.strolch.bom ] ; then + echo "Project li.strolch.bom already cloned." +else + if ! git clone https://github.com/eitch/li.strolch.bom.git ; then + exit 1 + fi + echo +fi + +if [ -d li.strolch.model ] ; then + echo "Project li.strolch.model already cloned." +else + if ! git clone https://github.com/eitch/li.strolch.model.git ; then + exit 1 + fi + echo +fi + +if [ -d li.strolch.testbase ] ; then + echo "Project li.strolch.testbase already cloned." +else + if ! git clone https://github.com/eitch/li.strolch.testbase.git ; then + exit 1 + fi + echo +fi + +if [ -d li.strolch.runtime ] ; then + echo "Project li.strolch.runtime already cloned." +else + if ! git clone https://github.com/eitch/li.strolch.runtime.git ; then + exit 1 + fi + echo +fi + +if [ -d li.strolch.service ] ; then + echo "Project li.strolch.service already cloned." +else + if ! git clone https://github.com/eitch/li.strolch.service.git ; then + exit 1 + fi + echo +fi + +if [ -d li.strolch.persistence.api ] ; then + echo "Project li.strolch.persistence.api already cloned." +else + if ! git clone https://github.com/eitch/li.strolch.persistence.api.git ; then + exit 1 + fi + echo +fi + +if [ -d li.strolch.persistence.xml ] ; then + echo "Project li.strolch.persistence.xml already cloned." +else + if ! git clone https://github.com/eitch/li.strolch.persistence.xml.git ; then + exit 1 + fi + echo +fi + +echo "Done." +exit 0 \ No newline at end of file