convenience script to clone or update all dependencies

This commit is contained in:
Michael Becker 2021-09-20 16:41:36 -04:00
parent 5bca9439d9
commit 3e4f7cd947
No known key found for this signature in database
GPG Key ID: 98C333A81F18C22C

16
update.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
GIT_USER=alcexhim
GIT_URL=git@github.com:$GIT_USER
GIT_PROJECTS="MBS.Audio MBS.Framework MBS.Framework.UserInterface MBS.Framework.Rendering UniversalEditor"
for name in $GIT_PROJECTS; do
if [ -d ../$name ]; then
cd ../$name && git pull
else
cd ../ && git clone $GIT_URL/$name
cd $name
fi
done