summaryrefslogtreecommitdiffstats
path: root/Vagrantfile
blob: 16be045794dd6720b0cc679ab29c391484b90943 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Vagrant.configure(2) do |config|
  config.vm.box = 'debian/jessie64'

  config.vm.provision "shell", inline: <<-EOS
    apt-get -y update
    apt-get install -y clang git vim curl
  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
    cargo install -f just
    git clone https://github.com/casey/just.git
  EOS
end