Created
December 14, 2014 00:05
-
-
Save Deraen/5b75f6d37384d1417692 to your computer and use it in GitHub Desktop.
Testing boot
This file contains 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 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