зеркало из https://github.com/github/ruby.git
* common.mk (dist): tool/make-snapshot is executable.
* tool/make-snapshot (package): supported release numbers 1.9.0-x. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
75b2d7cbe8
Коммит
42307bf41f
|
@ -1,3 +1,9 @@
|
||||||
|
Tue Aug 26 02:47:08 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||||
|
|
||||||
|
* common.mk (dist): tool/make-snapshot is executable.
|
||||||
|
|
||||||
|
* tool/make-snapshot (package): supported release numbers 1.9.0-x.
|
||||||
|
|
||||||
Tue Aug 26 02:43:50 2008 Tanaka Akira <akr@fsij.org>
|
Tue Aug 26 02:43:50 2008 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* include/ruby/io.h (rb_io_t): new field: writeconv_pre_opts.
|
* include/ruby/io.h (rb_io_t): new field: writeconv_pre_opts.
|
||||||
|
|
|
@ -797,7 +797,7 @@ vtune: miniruby$(EXEEXT)
|
||||||
vtl view -ha -mn miniruby$(EXEEXT) -sum -sort -cd | $(RUNRUBY) $(srcdir)/tool/vtlh.rb > ha.lines
|
vtl view -ha -mn miniruby$(EXEEXT) -sum -sort -cd | $(RUNRUBY) $(srcdir)/tool/vtlh.rb > ha.lines
|
||||||
|
|
||||||
dist: $(PREP) $(PROGRAM)
|
dist: $(PREP) $(PROGRAM)
|
||||||
$(SHELL) $(srcdir)/tool/make-snapshot . $(TARNAME)
|
$(srcdir)/tool/make-snapshot . $(TARNAME)
|
||||||
|
|
||||||
up:
|
up:
|
||||||
@$(VCS) up "$(srcdir)"
|
@$(VCS) up "$(srcdir)"
|
||||||
|
|
|
@ -53,9 +53,10 @@ def package(rev, destdir)
|
||||||
when /\Astable\z/
|
when /\Astable\z/
|
||||||
url = SVNURL + "branches/"
|
url = SVNURL + "branches/"
|
||||||
url = url + `svn ls #{url}`[/.*^(ruby_\d+_\d+)\//m, 1]
|
url = url + `svn ls #{url}`[/.*^(ruby_\d+_\d+)\//m, 1]
|
||||||
when /\A\(.*\..*\..*\)-/
|
when /\A(.*)\.(.*)\.(.*)-(p)?(.*)/
|
||||||
patchlevel = true
|
patchlevel = !!$4
|
||||||
url = SVNURL + "tags/v#{rev.sub(/-p?/, '_').tr('.', '_')}"
|
tag = "#{$4}#{$5}"
|
||||||
|
url = SVNURL + "tags/v#{$1}_#{$2}_#{$3}_#{$5}"
|
||||||
when /\./
|
when /\./
|
||||||
url = SVNURL + "branches/ruby_#{rev.tr('.', '_')}"
|
url = SVNURL + "branches/ruby_#{rev.tr('.', '_')}"
|
||||||
else
|
else
|
||||||
|
@ -97,7 +98,7 @@ def package(rev, destdir)
|
||||||
patchlevel = versionhdr[/^\#define\s+RUBY_PATCHLEVEL\s+(\d+)/, 1]
|
patchlevel = versionhdr[/^\#define\s+RUBY_PATCHLEVEL\s+(\d+)/, 1]
|
||||||
tag = (patchlevel ? "p#{patchlevel}" : "r#{revision}")
|
tag = (patchlevel ? "p#{patchlevel}" : "r#{revision}")
|
||||||
else
|
else
|
||||||
tag = "r#{revision}"
|
tag ||= "r#{revision}"
|
||||||
end
|
end
|
||||||
v = "ruby-#{version}-#{tag}"
|
v = "ruby-#{version}-#{tag}"
|
||||||
File.directory?(v) or File.rename "ruby", v
|
File.directory?(v) or File.rename "ruby", v
|
||||||
|
|
Загрузка…
Ссылка в новой задаче