[Groonga-commit] pgroonga/pgroonga at d3c4ba9 [master] Don't add needless files into archive

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jan 29 00:33:16 JST 2015


Kouhei Sutou	2015-01-29 00:33:16 +0900 (Thu, 29 Jan 2015)

  New Revision: d3c4ba9a351d4c1fd47f67f251c293b9cb925c37
  https://github.com/pgroonga/pgroonga/commit/d3c4ba9a351d4c1fd47f67f251c293b9cb925c37

  Message:
    Don't add needless files into archive

  Modified files:
    Rakefile

  Modified: Rakefile (+3 -1)
===================================================================
--- Rakefile    2015-01-29 00:32:37 +0900 (089e7a9)
+++ Rakefile    2015-01-29 00:33:16 +0900 (2238cf3)
@@ -33,7 +33,9 @@ version = find_version(package)
 archive_base_name = "#{package}-#{version}"
 archive_name = "#{archive_base_name}.tar.gz"
 
-dist_files = `git ls-files`.split("\n")
+dist_files = `git ls-files`.split("\n").reject do |file|
+  file.start_with?("packages/")
+end
 
 file archive_name => dist_files do
   sh("git archive --prefix=#{archive_base_name}/ --format=tar HEAD | " +
-------------- next part --------------
HTML����������������������������...
Download 



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