Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ namespace :build do
arch_dir = Pathname(__FILE__).dirname.join("release/#{arch}")
Dir.chdir(arch_dir) do
sh "vagrant up"
sh "vagrant ssh -c 'rm -rf libv8 && git clone /libv8/.git libv8'"
sh "vagrant ssh -c 'cd libv8 && git submodule update --init --depth=1'"
sh "vagrant ssh -c 'rm -rf libv8 && git clone --recursive /libv8/.git libv8'"
sh "vagrant ssh -c 'cd libv8 && bundle install --path vendor/bundle'"
sh "vagrant ssh -c 'cd libv8 && bundle exec rake binary'"
sh "vagrant ssh -c 'cp libv8/pkg/*.gem /vagrant'"
Expand Down
14 changes: 9 additions & 5 deletions release/x86-linux/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ Vagrant.configure(2) do |config|
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
sudo apt-get install -y gcc-4.8 g++-4.8 build-essential git git-svn python ruby ruby-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
sudo update-alternatives --config gcc
gem install bundler
apt-get update
apt-get install -y gcc-4.8 g++-4.8 build-essential git git-svn python ruby ruby-dev emacs
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
update-alternatives --config gcc
su -c 'gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3' - vagrant
su -c '\\curl -sSL https://get.rvm.io | bash -s stable' - vagrant
su -c 'rvm install 2.2.2 --disable-binary' - vagrant
su -c 'rvm --default use 2.2.2' - vagrant
su -c 'gem install bundler' - vagrant
SHELL
end
14 changes: 9 additions & 5 deletions release/x86_64-linux/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ Vagrant.configure(2) do |config|
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
sudo apt-get install -y gcc-4.8 g++-4.8 build-essential git git-svn python ruby ruby-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
sudo update-alternatives --config gcc
gem install bundler
apt-get update
apt-get install -y gcc-4.8 g++-4.8 build-essential git git-svn python ruby ruby-dev emacs
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.8
update-alternatives --config gcc
su -c 'gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3' - vagrant
su -c '\\curl -sSL https://get.rvm.io | bash -s stable' - vagrant
su -c 'rvm install 2.2.2 --disable-binary' - vagrant
su -c 'rvm --default use 2.2.2' - vagrant
su -c 'gem install bundler' - vagrant
SHELL
end