just/Vagrantfile
Casey Rodarmor 6b9922fc2c Build Linux binaries using Vagrant (#132)
Adds a Vagrantfile to provision a Debian VM, and recipes to build for
linux on the VM.
2016-11-23 20:20:32 -08:00

19 lines
504 B
Ruby

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
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 just
git clone https://github.com/casey/just.git
EOS
end