-
Notifications
You must be signed in to change notification settings - Fork 30
/
Vagrantfile
32 lines (29 loc) · 1.01 KB
/
Vagrantfile
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.provision "devenv", type: "shell", inline: <<-SHELL
sudo apt-get update -y
sudo apt-get install -y git
sudo apt-get install -y build-essential
sudo apt-get install -y valgrind
SHELL
config.vm.provision "sphinx", type: "shell", inline: <<-SHELL
echo "[SPHINX-DOCS]: Installing Python Devel"
apt-get -y install python-dev
echo "[SPHINX-DOCS]: Installing pip ..."
apt-get -y install python-pip
easy_install -U pip
echo "[SPHINX-DOCS]: Installing DroneKit-LA requirements.txt ... "
cd /vagrant
pip install -r requirements.txt
pip install breathe
echo "[SPHINX-DOCS]: Installing DOxygen ..."
apt-get -y install doxygen
echo "[SPHINX-DOCS]: Run DOxygen ..."
doxygen doxygen/doxygen.conf
echo "[SPHINX-DOCS]: Building docs "
cd docs/
make html
SHELL
end