Last active
October 24, 2017 15:51
-
-
Save jeremywen/2e2cd152a1bbaa66d433b8ed4ff02d25 to your computer and use it in GitHub Desktop.
lists which vcv rack plugins you have - you can uncomment commands to run for each plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for gitPlugin in $(curl https://github.com/VCVRack/Rack/wiki/List-of-plugins | grep "<strong>Source</strong>" | awk -F'"' '{print $2}' | awk -F'/' '{print "git@"$3":"$4"/"$5".git"}') | |
do | |
baseDir=$(echo $gitPlugin | awk -F'/' '{print $2}' | awk -F'.' '{print $1}') | |
if [ -d "$baseDir" ]; then | |
echo "$baseDir exists" | |
else | |
echo "$baseDir does not exists" | |
# git clone $gitPlugin | |
fi | |
pushd $baseDir | |
# git pull --rebase | |
# make clean | |
# make | |
popd | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment