2016-11-23 20:20:32 -08:00
|
|
|
Vagrant.configure(2) do |config|
|
|
|
|
config.vm.box = 'debian/jessie64'
|
|
|
|
|
|
|
|
config.vm.provision "shell", inline: <<-EOS
|
|
|
|
apt-get -y update
|
2017-09-07 21:38:28 -07:00
|
|
|
apt-get install -y clang git vim curl
|
2016-11-23 20:20:32 -08:00
|
|
|
EOS
|
|
|
|
|
|
|
|
config.vm.provision "shell", privileged: false, inline: <<-EOS
|
|
|
|
curl https://sh.rustup.rs -sSf > install-rustup
|
|
|
|
chmod +x install-rustup
|
|
|
|
./install-rustup -y
|
|
|
|
source ~/.cargo/env
|
|
|
|
rustup target add x86_64-unknown-linux-musl
|
2017-09-07 21:38:28 -07:00
|
|
|
cargo install -f just
|
2016-11-23 20:20:32 -08:00
|
|
|
git clone https://github.com/casey/just.git
|
|
|
|
EOS
|
|
|
|
end
|