-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclone.sh
executable file
·35 lines (30 loc) · 1.01 KB
/
clone.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
32
33
34
35
#!/usr/bin/env bash
# create directory tree and
# clone all repository in laser game project
# wykys 2018
if [[ $(pwd) == */laser-game/utils ]]; then
cd ..
elif [[ $(pwd) == */laser-game ]]; then
cd .
else
echo "Error: You must go to the root folder of the project or utils!"
exit -1
fi
mkdir sw fw hw
cd sw
git clone git@github.com:laser-game/manager.git
git clone git@github.com:laser-game/driver.git
git clone git@github.com:laser-game/bridge-api.git
cd ../fw
git clone git@github.com:laser-game/common-fw.git
git clone git@github.com:laser-game/router-fw.git
git clone git@github.com:laser-game/main-fw.git
git clone git@github.com:laser-game/gun-fw.git
git clone git@github.com:laser-game/display-fw.git
cd ../hw
git clone git@github.com:laser-game/router-hw.git
git clone git@github.com:laser-game/main-hw.git
git clone git@github.com:laser-game/display-hw.git
git clone git@github.com:laser-game/shoulder-hw.git
git clone git@github.com:laser-game/back-hw.git
git clone git@github.com:laser-game/gun-hw.git