[Groonga-commit] ranguba/rroonga at 321be55 [master] Remove unused code

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Dec 29 12:00:16 JST 2013


Kouhei Sutou	2013-12-29 12:00:16 +0900 (Sun, 29 Dec 2013)

  New Revision: 321be55d7d4db7511a4f4e59edad5b7e9fce554a
  https://github.com/ranguba/rroonga/commit/321be55d7d4db7511a4f4e59edad5b7e9fce554a

  Message:
    Remove unused code

  Modified files:
    Rakefile

  Modified: Rakefile (+0 -31)
===================================================================
--- Rakefile    2013-12-29 11:59:52 +0900 (01d0ab9)
+++ Rakefile    2013-12-29 12:00:16 +0900 (db4c068)
@@ -100,37 +100,6 @@ binary_dir = File.join(base_dir, relative_binary_dir)
 
 groonga_win32_i386_p = ENV["RROONGA_USE_GROONGA_X64"].nil?
 
-namespace :win32 do
-  namespace :groonga do
-    task :download do
-      require "open-uri"
-      require "./rroonga-build"
-      groonga_version = RroongaBuild::LatestGroongaVersion::VERSION.join(".")
-      base_name = "groonga-#{groonga_version}-"
-      if groonga_win32_i386_p
-        base_name << "x86"
-      else
-        base_name << "x64"
-      end
-      base_name << ".zip"
-      base_url = "http://packages.groonga.org/windows/groonga/"
-      Dir.chdir(base_dir) do
-        unless File.exist?(base_name)
-          open("#{base_url}#{base_name}", "rb") do |zip|
-            File.open(base_name, "wb") do |output|
-              output.print(zip.read)
-            end
-          end
-        end
-        sh("unzip", base_name)
-        rm_rf(relative_binary_dir)
-        mkdir_p(File.dirname(relative_binary_dir))
-        mv(File.basename(base_name, ".*"), relative_binary_dir)
-      end
-    end
-  end
-end
-
 Rake::ExtensionTask.new("groonga", spec) do |ext|
   if groonga_win32_i386_p
     ext.cross_platform = ["x86-mingw32"]
-------------- next part --------------
HTML����������������������������...
Descargar 



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