Skip to content

Commit

Permalink
Sync the .ivy2 directory
Browse files Browse the repository at this point in the history
  • Loading branch information
gklopper committed Nov 19, 2013
1 parent f7e9181 commit 0db5a84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 3 additions & 5 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
VAGRANTFILE_API_VERSION = "2"

options = {}
options[:sbt_options] = ARGV[1] || ''

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

config.vm.provision :shell, :path => "provision.sh", :args => options[:sbt_options]
config.vm.provision :shell, :path => "provision.sh"

config.vm.box = 'precise64'
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
config.vm.network "forwarded_port", guest: 9000, host: 9000
config.vm.network "forwarded_port", guest: 18080, host: 18080
config.vm.synced_folder "~/.gu", "/home/vagrant/.gu"
config.vm.synced_folder "~/.ivy2", "/home/vagrant/.ivy2"

config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--memory", 3064]
v.customize ["modifyvm", :id, "--memory", "3064"]
v.customize ["modifyvm", :id, "--cpuexecutioncap", "80"]
end

Expand Down
4 changes: 0 additions & 4 deletions provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,4 @@ sudo apt-get -y install git

sudo gem install bundler

# do an initial compile
cd /vagrant
./sbt compile


0 comments on commit 0db5a84

Please sign in to comment.