ruby-changes:8370
From: yugui <ko1@a...>
Date: Thu, 23 Oct 2008 22:09:14 +0900 (JST)
Subject: [ruby-changes:8370] Ruby:r19901 (trunk):
yugui 2008-10-23 22:08:48 +0900 (Thu, 23 Oct 2008) New Revision: 19901 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19901 Log: * distruby.rb: removed. "make dist" uses tool/make-snapshot for the 1.9 series. distruby.rb has been no longer used. Removed files: trunk/distruby.rb Modified files: trunk/ChangeLog Index: distruby.rb =================================================================== --- distruby.rb (revision 19900) +++ distruby.rb (revision 19901) @@ -1,59 +0,0 @@ -#!./miniruby - -if RUBY_PATCHLEVEL.zero? - dirname = sprintf 'ruby-%s', RUBY_VERSION - tagname = dirname.gsub /ruby-(\d)\.(\d)\.(\d)/, 'v\1_\2_\3' -else - dirname = sprintf 'ruby-%s-p%u', RUBY_VERSION, RUBY_PATCHLEVEL - tagname = dirname.gsub /ruby-(\d)\.(\d)\.(\d)-p/, 'v\1_\2_\3_' -end -tgzname = dirname + '.tar.gz' -tbzname = dirname + '.tar.bz2' -zipname = dirname + '.zip' -repos = 'http://svn.ruby-lang.org/repos/ruby/tags/' + tagname - -STDERR.puts 'exporting sources...' -system 'svn', 'export', '-q', repos, dirname -Dir.chdir dirname do - STDERR.puts 'generating configure...' - system 'autoconf' - system 'rm', '-rf', 'autom4te.cache' - - STDERR.puts 'generating parse.c...' - system 'bison', '-y', '-o', 'parse.c', 'parse.y' -end - -STDERR.puts 'generating tarballs...' -ENV['GZIP'] = '-9' -system 'tar', 'chofzp', tgzname, dirname -system 'tar', 'chojfp', tbzname, dirname -system 'zip', '-q9r', zipname, dirname - -require 'digest/md5' -require 'digest/sha2' -for name in [tgzname, tbzname, zipname] do - open name, 'rb' do |fp| - str = fp.read - md5 = Digest::MD5.hexdigest str - sha = Digest::SHA256.hexdigest str - printf "MD5(%s)= %s\nSHA256(%s)= %s\nSIZE(%s)= %s\n\n", - name, md5, - name, sha, - name, str.size - end -end - - - -# -# Local Variables: -# mode: ruby -# code: utf-8 -# indent-tabs-mode: t -# tab-width: 3 -# ruby-indent-level: 3 -# fill-column: 79 -# default-justification: full -# End: -# vi: ts=3 sw=3 - Index: ChangeLog =================================================================== --- ChangeLog (revision 19900) +++ ChangeLog (revision 19901) @@ -1,3 +1,8 @@ +Thu Oct 23 22:06:23 2008 Yuki Sonoda (Yugui) <yugui@y...> + + * distruby.rb: removed. "make dist" uses tool/make-snapshot for the 1.9 + series. distruby.rb has been no longer used. + Thu Oct 23 17:30:29 2008 Yukihiro Matsumoto <matz@r...> * class.c (rb_class_instance_methods): rdoc fixed. [ruby-core:19458] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/