Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Code style fixes #926

Merged
merged 1 commit into from May 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 10 additions & 10 deletions Vagrantfile
Expand Up @@ -6,18 +6,18 @@ VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "monsenso/macos-10.13"
config.vm.box_version = "1.0.0"
config.vm.network "forwarded_port", guest: 8080, host: 8080
config.vm.network("forwarded_port", guest: 8080, host: 8080)

# Sync the fastlane-ci folder to the guest VM. The type of the synced folder
# has to be rsync or nfs, because BSD-based guests do not support the
# VirtualBox filesystem at this time.
config.vm.synced_folder ".", "/fastlane-ci", type: "nfs"
config.vm.synced_folder(".", "/fastlane-ci", type: "nfs")

# NFS requires a host-only network to be created in order to work. This
# requires admin password every time you run `vagrant up`.
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.network("private_network", ip: "192.168.33.10")

config.vm.provider "virtualbox" do |vb|
config.vm.provider("virtualbox") do |vb|
# Hide the VirtualBox GUI when booting the machine
vb.gui = false

Expand All @@ -27,16 +27,16 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

# No matter how much CPU is used in the VM, no more than 50% should be used
# on the host machine
vb.customize ["modifyvm", :id, "--cpuexecutioncap", "50"]
vb.customize(["modifyvm", :id, "--cpuexecutioncap", "50"])

# Because the USB 2.0 controller state is part of the saved VM state, the
# VM cannot be started with USB 2.0 support on.
vb.customize ["modifyvm", :id, "--usb", "on"]
vb.customize ["modifyvm", :id, "--usbehci", "off"]
vb.customize(["modifyvm", :id, "--usb", "on"])
vb.customize(["modifyvm", :id, "--usbehci", "off"])
end

# Bootstrap the VM
config.vm.provision "shell",
path: "./vagrant-provision.sh",
privileged: false
config.vm.provision("shell",
path: "./vagrant-provision.sh",
privileged: false)
end