-
Notifications
You must be signed in to change notification settings - Fork 1
/
clone-repos.sh
executable file
·47 lines (38 loc) · 1.49 KB
/
clone-repos.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
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/sh
cd ..
# If o-platform doesn't exist, clone it
if [ ! -d "o-platform" ]; then
git clone https://github.com/CirclesUBI/o-platform.git
(cd o-platform && git branch --show-current && git checkout dev)
fi
# same with api-server
if [ ! -d "api-server" ]; then
git clone https://github.com/CirclesUBI/api-server.git
(cd api-server && git branch --show-current && git checkout dev)
fi
# same with blockchain-indexer
if [ ! -d "blockchain-indexer" ]; then
git clone https://github.com/CirclesUBI/blockchain-indexer.git
(cd blockchain-indexer && git branch --show-current && git checkout dev)
fi
# same with pathfinder2
if [ ! -d "pathfinder2" ]; then
git clone https://github.com/CirclesUBI/pathfinder2.git
(cd pathfinder2 && git branch --show-current && git checkout main)
fi
# same with pathfinder2-updater
if [ ! -d "pathfinder2-updater" ]; then
git clone https://github.com/CirclesUBI/pathfinder2-updater.git
(cd pathfinder2-updater && git branch --show-current && git checkout fix/dont-export-negative-balances)
fi
# same with pathfinder-proxy
if [ ! -d "pathfinder-proxy" ]; then
git clone https://github.com/CirclesUBI/pathfinder-proxy.git
(cd pathfinder-proxy && git branch --show-current && git checkout dev)
fi
# same with cypress-tests
if [ ! -d "o-platform-cypress" ]; then
git clone https://github.com/CirclesUBI/o-platform-cypress.git
(cd o-platform-cypress && git branch --show-current && git checkout feature/app-103-automated-e2e-testing-with-cypress)
fi
cd land-local