Commit ce359979 authored by Lasse Schuirmann's avatar Lasse Schuirmann

Add EE cloning

parent 3c1c8e36
The following license applies to all directories which do not have an own
LICENSE file. If a directory contains an own LICENSE file the MIT License is
not valid for that.
The MIT License (MIT)
Copyright (c) 2016 Lasse Schuirmann
......
declare -a plugins=(
"hello_ee"
)
function clone_or_pull {
if [ -d "gitmate_$1" ]; then
cd gitmate_$1
echo "Updating $1..."
git pull
cd ..
else
echo "Cloning $1..."
git clone git@gitlab.com:gitmate/ee-plugins/$1.git gitmate_$1
fi
}
echo "Be sure to have a valid GitLab SSH key for pulling the GitMate EE repositories."
cd plugins
for plugin in "${plugins[@]}"
do
clone_or_pull $plugin
done
cd ..
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment