[New] added a bootstrap_https.sh for https cloning on CI

This commit is contained in:
Robert von Burg 2013-10-27 03:58:29 +01:00
parent 7c598a552f
commit ac9cba1f08
1 changed files with 84 additions and 0 deletions

84
bootstrap_https.sh Executable file
View File

@ -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