Skip to content

Commit 1e4a14c

Browse files
committed
add script to mirror all plugins locally
1 parent 6a1fbd5 commit 1e4a14c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mirror/

mirror-all-plugins.sh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
DOWNLOAD_DIR="mirror"
3+
if [ ! -d $DOWNLOAD_DIR ]
4+
then
5+
mkdir $DOWNLOAD_DIR
6+
fi
7+
for plugin in `grep '"name"' listing.json|awk -F\" '{print $4}'`
8+
do
9+
git -C $DOWNLOAD_DIR clone https://github.com/$plugin
10+
done

0 commit comments

Comments
 (0)