wolfssl/Vagrantfile

29 lines
639 B
Ruby
Raw Normal View History

# -*- mode: ruby -*-
# vi: set ft=ruby :
$setup = <<SCRIPT
apt-get update
2014-09-05 19:55:57 +04:00
apt-get install -y git autoconf libtool make valgrind libpq-dev
cp -rp /vagrant/ cyassl/
echo "cd cyassl" >> .bashrc
echo "echo -e '\e[0;32mRunning cyassl sync\e[0m'" >> .bashrc
echo "./pull_to_vagrant.sh" >> .bashrc
cd cyassl
./autogen.sh
./configure
make check
cd ..
chown -hR vagrant:vagrant cyassl/ /tmp/output
SCRIPT
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hashicorp/precise64"
config.vm.provision "shell", inline: $setup
end