[Groonga-commit] ranguba/rroonga at 8e1230f [master] Reduce scope

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 6 21:57:28 JST 2015


Kouhei Sutou	2015-10-06 21:57:28 +0900 (Tue, 06 Oct 2015)

  New Revision: 8e1230f6c43ccafbbdd59b45d47df1b0abcf328f
  https://github.com/ranguba/rroonga/commit/8e1230f6c43ccafbbdd59b45d47df1b0abcf328f

  Message:
    Reduce scope

  Modified files:
    Rakefile

  Modified: Rakefile (+4 -6)
===================================================================
--- Rakefile    2015-10-06 21:54:18 +0900 (ff44cbe)
+++ Rakefile    2015-10-06 21:57:28 +0900 (1441798)
@@ -148,12 +148,10 @@ namespace :clean do
   end
 end
 
-def cross_target_rubies
-  "2.0.0:2.1.6:2.2.2"
-end
-
 namespace :build do
   namespace :windows do
+    ruby_versions = "2.0.0:2.1.6:2.2.2"
+
     desc "Build cross compile binary with rake-compiler-dock for i386"
     task :x86 do
       require "rake_compiler_dock"
@@ -161,7 +159,7 @@ namespace :build do
       RakeCompilerDock.sh %Q[
         bundle
         rake clean
-        rake cross native gem RUBY_CC_VERSION=\"#{cross_target_rubies}\"
+        rake cross native gem RUBY_CC_VERSION=\"#{ruby_versions}\"
       ]
     end
 
@@ -173,7 +171,7 @@ namespace :build do
         bundle
         rake clean
         export RROONGA_USE_GROONGA_X64=true
-        rake cross native gem RUBY_CC_VERSION=\"#{cross_target_rubies}\"
+        rake cross native gem RUBY_CC_VERSION=\"#{ruby_versions}\"
       ]
     end
   end
-------------- next part --------------
HTML����������������������������...
Download 



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