-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
31 lines (26 loc) · 954 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
dests=(
'https://github.com/shenlujia/iOS-AlipaySDK.git'
'https://github.com/shenlujia/iOS-AlipaySDK.git'
'https://github.com/RITL/RITLImagePickerDemo.git'
'https://github.com/RITL/RITLKit.git'
'https://github.com/xtcmoons/XTC_AlipaySDK.git'
'https://github.com/ibireme/YYKit.git'
'https://github.com/SDWebImage/SDWebImage.git'
'https://github.com/SnapKit/Masonry.git'
'https://github.com/jdg/MBProgressHUD.git'
'https://github.com/AFNetworking/AFNetworking.git'
'https://github.com/CoderMJLee/MJExtension.git'
'https://github.com/CoderMJLee/MJRefresh.git'
'https://github.com/MxABC/LBXScan.git'
'https://github.com/MontakOleg/WechatOpenSDK.git'
'https://github.com/parakeety/PKYStepper.git'
)
function clone_all(){
cd ~/Documents/GitHub
arr=$1
for i in ${arr[*]}; do
git clone $i
done
}
clone_all "${dests[*]}"