forked from socketcan-rs/socketcan-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
22 lines (19 loc) · 751 Bytes
/
Vagrantfile
File metadata and controls
22 lines (19 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
$script = <<SCRIPT
apt-get update
apt-get install --yes graphviz curl doxygen build-essential can-utils git python3 python3-click inotify-tools
curl -s https://sh.rustup.rs > /rustup.sh
sudo -u vagrant -- sh /rustup.sh -y
mkdir -p /opt
git clone https://github.com/mbr/binbin /opt/binbin
ln -sf /opt/binbin/bin/rerun /usr/local/bin/rerun
ln -sf /opt/binbin/bin/repl /usr/local/bin/repl
SCRIPT
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "debian/jessie64"
config.vm.provision "shell", inline: $script
config.vm.synced_folder '.', '/vagrant', :disabled => true
end