mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Improve FreeBSD's Vagrant box
- x86_64-freebsd10 -> x86_64-freebsd-10 - Increase memory to 2048 - Upgrade installed packages - Use the `git-lite` package
This commit is contained in:
parent
1e361b3462
commit
3ae6f20ac8
2 changed files with 4 additions and 2 deletions
2
Rakefile
2
Rakefile
|
@ -51,7 +51,7 @@ task :binary => :compile do
|
|||
end
|
||||
|
||||
namespace :build do
|
||||
['x86_64-linux', 'x86-linux', 'armhf-linux', 'x86_64-freebsd10'].each do |arch|
|
||||
['x86_64-linux', 'x86-linux', 'armhf-linux', 'x86_64-freebsd-10'].each do |arch|
|
||||
desc "build binary gem for #{arch}"
|
||||
task arch do
|
||||
arch_dir = Pathname(__FILE__).dirname.join("release/#{arch}")
|
||||
|
|
|
@ -60,6 +60,7 @@ Vagrant.configure(2) do |config|
|
|||
config.ssh.shell = "sh"
|
||||
config.vm.base_mac = "080027D14C66"
|
||||
config.vm.provider :virtualbox do |vb|
|
||||
vb.memory = "2048"
|
||||
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
|
||||
vb.customize ["modifyvm", :id, "--audio", "none"]
|
||||
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
||||
|
@ -81,6 +82,7 @@ Vagrant.configure(2) do |config|
|
|||
# sudo apt-get install -y apache2
|
||||
# SHELL
|
||||
config.vm.provision "shell", inline: <<-SHELL
|
||||
pkg install -y bash gmake ruby rubygem-bundler git-subversion python2
|
||||
pkg upgrade -y
|
||||
pkg install -y bash gmake ruby rubygem-bundler git-lite python2
|
||||
SHELL
|
||||
end
|
Loading…
Add table
Reference in a new issue