[Groonga-commit] groonga/heroku-groonga-builder at 8b893a0 [build_kytea] Add the relative prefix

Back to archive index

Ryo Sugimoto null+****@clear*****
Sun Sep 14 10:39:54 JST 2014


Ryo Sugimoto	2014-09-14 10:39:54 +0900 (Sun, 14 Sep 2014)

  New Revision: 8b893a0b4eefa0d88a5a1f8269850a10fdb32ecc
  https://github.com/groonga/heroku-groonga-builder/commit/8b893a0b4eefa0d88a5a1f8269850a10fdb32ecc

  Message:
    Add the relative prefix

  Modified files:
    Rakefile

  Modified: Rakefile (+6 -2)
===================================================================
--- Rakefile    2014-09-14 10:37:05 +0900 (161ec07)
+++ Rakefile    2014-09-14 10:39:54 +0900 (6258c79)
@@ -31,8 +31,12 @@ class GroongaBuilder
     File.join(@top_dir, relative_install_prefix)
   end
 
+  def relative_mecab_prefix
+    File.join("vendor", "mecab")
+  end
+  
   def absolete_mecab_prefix
-    File.join(@top_dir, "vendor", "mecab")
+    File.join(@top_dir, relative_mecab_prefix)
   end
 
   def mecab_config
@@ -161,7 +165,7 @@ class GroongaBuilder
 
   def archive
     archive_name = "heroku-#{groonga_base_name}.tar.xz"
-    sh("tar", "cJf", archive_name, relative_install_prefix, mecab_prefix)
+    sh("tar", "cJf", archive_name, relative_install_prefix, relative_mecab_prefix)
     archive_name
   end
 
-------------- next part --------------
HTML����������������������������...
Download 



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