blob: 7f40363b1c0f44f56e0ff4f3504d9577b8fd1993 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
#
# Issues:
# - homebrew version of git does not work nicely with submodules
hash vagrant 2>/dev/null || { echo >&2 "Vagrant is not installed. Aborting."; exit 1; }
if [ -d ./leap_platform ]
then
cd leap_platform
/usr/bin/git pull
/usr/bin/git submodule update --init
else
/usr/bin/git clone --branch develop --recursive https://leap.se/git/leap_platform.git
cd leap_platform
fi
cd tests/example-provider
vagrant up pixelated --no-provision || vagrant reload
vagrant provision
|