summaryrefslogtreecommitdiff
path: root/pkg/tools/checkout_leap.sh
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-09-20 12:58:07 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-20 16:40:22 -0400
commit3c9f936d95cfaebef26e84332367beff30701612 (patch)
tree069f52eaf37f2512d3847f6340973303c5dcb5f3 /pkg/tools/checkout_leap.sh
parent607df76ebdf5516085835a0a1f7718baf966a6e0 (diff)
[tests] add script to checkout common/soledad
Diffstat (limited to 'pkg/tools/checkout_leap.sh')
-rwxr-xr-xpkg/tools/checkout_leap.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/tools/checkout_leap.sh b/pkg/tools/checkout_leap.sh
new file mode 100755
index 0000000..082ff8f
--- /dev/null
+++ b/pkg/tools/checkout_leap.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+if [ ! -d "../leap_commondev" ]; then
+ git clone https://github.com/leapcode/leap_pycommon ../leap_commondev
+fi
+if [ ! -d "../soledaddev" ]; then
+ git clone https://github.com/leapcode/soledad ../soledaddev
+fi
+cd ../leap_commondev && git checkout develop && git pull origin develop
+cd ../soledaddev && git checkout develop && git pull origin develop