[Groonga-commit] ranguba/rroonga at d07f378 [master] Use rake-compiler 0.9.5 feature

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Feb 26 23:01:43 JST 2015


Kouhei Sutou	2015-02-26 23:01:43 +0900 (Thu, 26 Feb 2015)

  New Revision: d07f3786b028830aef4141924ab8db72b38b4d95
  https://github.com/ranguba/rroonga/commit/d07f3786b028830aef4141924ab8db72b38b4d95

  Message:
    Use rake-compiler 0.9.5 feature
    
    We don't need to copy cross compile related files by ourselves.

  Modified files:
    Rakefile
    rroonga.gemspec

  Modified: Rakefile (+1 -10)
===================================================================
--- Rakefile    2015-02-23 14:17:04 +0900 (c8e712a)
+++ Rakefile    2015-02-26 23:01:43 +0900 (cf3568d)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8; mode: ruby -*-
 #
-# Copyright (C) 2009-2012  Kouhei Sutou <kou �� clear-code.com>
+# Copyright (C) 2009-2015  Kouhei Sutou <kou �� clear-code.com>
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -114,15 +114,6 @@ Rake::ExtensionTask.new("groonga", spec) do |ext|
       if windows?(_spec.platform.to_s)
         binary_files = collect_binary_files(relative_binary_dir)
         _spec.files += binary_files
-        stage_path = "#{ext.tmp_dir}/#{_spec.platform}/stage"
-        binary_files.each do |binary_file|
-          stage_binary_file = "#{stage_path}/#{binary_file}"
-          stage_binary_dir = File.dirname(stage_binary_file)
-          directory stage_binary_dir
-          file stage_binary_file => [stage_binary_dir, binary_file] do
-            cp binary_file, stage_binary_file
-          end
-        end
       end
     end
   end

  Modified: rroonga.gemspec (+1 -1)
===================================================================
--- rroonga.gemspec    2015-02-23 14:17:04 +0900 (e537f1e)
+++ rroonga.gemspec    2015-02-26 23:01:43 +0900 (10e602a)
@@ -89,7 +89,7 @@ Gem::Specification.new do |s|
   s.add_development_dependency("test-unit", [">= 3.0.0"])
   s.add_development_dependency("test-unit-notify")
   s.add_development_dependency("rake")
-  s.add_development_dependency("rake-compiler")
+  s.add_development_dependency("rake-compiler", [">= 0.9.5"])
   s.add_development_dependency("bundler")
   s.add_development_dependency("yard")
   s.add_development_dependency("packnga", [">= 1.0.0"])
-------------- next part --------------
HTML����������������������������...
Download 



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