[Groonga-commit] ranguba/rroonga at 4177f3c [master] Use dedicated methods

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jan 8 11:25:05 JST 2015


Kouhei Sutou	2015-01-08 11:25:05 +0900 (Thu, 08 Jan 2015)

  New Revision: 4177f3cdd6655d16605e1cc51f950cff51218e85
  https://github.com/ranguba/rroonga/commit/4177f3cdd6655d16605e1cc51f950cff51218e85

  Message:
    Use dedicated methods

  Modified files:
    build/windows/Vagrantfile

  Modified: build/windows/Vagrantfile (+2 -2)
===================================================================
--- build/windows/Vagrantfile    2015-01-08 11:23:20 +0900 (d261cbe)
+++ build/windows/Vagrantfile    2015-01-08 11:25:05 +0900 (a88d13e)
@@ -25,8 +25,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
     vb.gui = false
     used_n_cpus = available_n_cpus
     used_n_cpus /= 2 if used_n_cpus >= 2
-    vb.customize ["modifyvm", :id, "--cpus", use_n_cpus.to_s]
-    vb.customize ["modifyvm", :id, "--memory", "2048"]
+    vb.cpus = used_n_cpus
+    vb.memory = 2048
   end
 
   config.vm.provision :shell, path: "cross-build-rroonga.sh", privileged: false
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index