mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
make-snapshot: touch-unicode-files for 2.4
* tool/make-snapshot (package): fallback touch-unicode-files for 2.4, which has been introduced to reduce downloads on CI. [ruby-core:81972] [Bug #13734] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2abf6a3474
commit
d0677cdb2c
1 changed files with 5 additions and 2 deletions
|
@ -330,7 +330,7 @@ def package(vcs, rev, destdir, tmp = nil)
|
||||||
"ruby_version"=>version,
|
"ruby_version"=>version,
|
||||||
}
|
}
|
||||||
status.scan(/^s([%,])@([A-Za-z_][A-Za-z_0-9]*)@\1(.*?)\1g$/) do
|
status.scan(/^s([%,])@([A-Za-z_][A-Za-z_0-9]*)@\1(.*?)\1g$/) do
|
||||||
vars[$2] = $3
|
vars[$2] ||= $3
|
||||||
end
|
end
|
||||||
vars["UNICODE_VERSION"] = $unicode_version if $unicode_version
|
vars["UNICODE_VERSION"] = $unicode_version if $unicode_version
|
||||||
args = vars.dup
|
args = vars.dup
|
||||||
|
@ -340,11 +340,14 @@ def package(vcs, rev, destdir, tmp = nil)
|
||||||
|
|
||||||
prereq: clean-cache $(CLEAN_CACHE)
|
prereq: clean-cache $(CLEAN_CACHE)
|
||||||
clean-cache $(CLEAN_CACHE): extract-gems
|
clean-cache $(CLEAN_CACHE): extract-gems
|
||||||
touch-unicode-files:
|
touch-unicode-files: _touch-unicode-files
|
||||||
update-download:: touch-unicode-files
|
update-download:: touch-unicode-files
|
||||||
update-download:: update-gems
|
update-download:: update-gems
|
||||||
extract-gems: update-gems
|
extract-gems: update-gems
|
||||||
update-gems:
|
update-gems:
|
||||||
|
_touch-unicode-files:
|
||||||
|
$(MAKEDIRS) $(UNICODE_SRC_DATA_DIR)
|
||||||
|
touch $(UNICODE_SRC_DATA_DIR)/.unicode-tables.time $(UNICODE_DATA_HEADERS)
|
||||||
APPEND
|
APPEND
|
||||||
open(clean.add("Makefile"), "w") do |f|
|
open(clean.add("Makefile"), "w") do |f|
|
||||||
f.puts "prereq: update-download"
|
f.puts "prereq: update-download"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue