summaryrefslogblamecommitdiff
path: root/meap/meap-code/ch6/ch6-particles/Vagrantfile
blob: 8bc9eb8b27af54be5e7f795eca50d0504016dc21 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                                         
VAGRANTFILE_VERSION = "2"

$provision = <<SCRIPT
sudo apt update 
sudo apt install -y curl

curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly
cd /vagrant
cargo build
SCRIPT


Vagrant.configure(VAGRANTFILE_VERSION) do |config|
    config.vm.box = "bento/ubuntu-17.04-i386"
    config.vm.post_up_message = "Hope that you're enjoying Rust in Action!\n-TS McNamara"
    config.vm.provision "shell", inline: $provision
end