-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.sh
executable file
·14 lines (11 loc) · 1.07 KB
/
init.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -e
[ ! -d "statics/course-plus" ] && git clone --depth=1 --branch gh-pages https://github.com/SJTU-Plus/course-plus statics/course-plus
[ ! -d "statics/tools" ] && git clone --depth=1 --branch gh-pages https://github.com/SJTU-Plus/tools statics/tools
[ ! -d "statics/course-plus-data" ] && git clone --depth=1 --branch master https://github.com/SJTU-Plus/course-plus-data statics/course-plus-data
[ ! -d "sjtu-plus" ] && git clone --depth=1 --branch master https://github.com/SJTU-Plus/sjtu-plus sjtu-plus
[ ! -d "services/sjtu_traffic_exporter" ] && git clone --depth=1 --branch master https://github.com/SJTU-Plus/sjtu_traffic_exporter services/sjtu_traffic_exporter
[ ! -d "statics/libsjtu" ] && git clone --depth=1 --branch gh-pages https://github.com/SJTU-Plus/libsjtu/ statics/libsjtu
[ ! -d "captcha-solver" ] && git clone --depth=1 --branch service https://github.com/danyang685/jaccount-captcha-solver captcha-solver
[ ! -d "services/influx-everything" ] && git clone --depth=1 https://github.com/SJTU-Plus/influx-everything services/influx-everything
echo "Finished!"