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