-
-
Save alandipert/f0ad6494ad13b6d40356 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
$script = <<SCRIPT | |
apt-get update | |
apt-get install -y git maven openjdk-7-jdk | |
( | |
cd /usr/local/bin | |
wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein -O lein | |
chmod +x lein | |
) | |
# Targed created by the next script | |
ln -s /home/vagrant/boot/bin/boot.sh /usr/local/bin/boot | |
SCRIPT | |
$script2 = <<SCRIPT | |
( | |
git clone https://github.com/boot-clj/boot.git | |
cd boot | |
git checkout tempdirs | |
make deps | |
make install | |
) | |
( | |
git clone https://github.com/Deraen/boot-cljx.git | |
cd boot-cljx | |
git checkout tempdirs | |
) | |
SCRIPT | |
Vagrant.require_version ">= 1.6" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.provision "shell", inline: $script | |
config.vm.provision "shell", inline: $script2, privileged: false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment