view contrib/vagrant/Vagrantfile @ 31694:10d88dc7c010

rcutil: extract duplicated logic to a lambda This simplifies the code a bit.
author Jun Wu <quark@fb.com>
date Tue, 28 Mar 2017 07:57:56 -0700
parents a31ffc445f02
children 7fd16ddabaa0
line wrap: on
line source

# -*- mode: ruby -*-

Vagrant.configure('2') do |config|
  # Debian 8.1 x86_64 without configuration management software
  config.vm.box = "debian/jessie64"
  config.vm.hostname = "tests"

  config.vm.define "tests" do |conf|
    conf.vm.provision :file, source: "run-tests.sh", destination:"run-tests.sh"
    conf.vm.provision :shell, path: "provision.sh"
    conf.vm.synced_folder "../..", "/hgshared"
  end
end