1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

appveyor.yml: Use pre-generated headers and tables

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-04-06 00:08:04 +00:00
parent 50eea44a27
commit b5df5296a4
2 changed files with 2 additions and 1 deletions

View file

@ -42,7 +42,7 @@ for:
- echo>> Makefile BUILTIN_ENCOBJS=nul
- type win32\Makefile.sub >> Makefile
- nmake %mflags% touch-unicode-files
- nmake %mflags% up incs
- nmake %mflags% up incs UNICODE_FILES=.
- del Makefile
- mkdir \usr\local\bin
- mkdir \usr\local\include

View file

@ -85,6 +85,7 @@ class Downloader
INDEX[:index] = IO.read index_file
end
file_base = File.basename(name, '.txt')
return if file_base == '.' # Use pre-generated headers and tables
beta_name = INDEX[:index][/#{Regexp.quote(file_base)}(-[0-9.]+d\d+)?\.txt/]
# make sure we always check for new versions of files,
# because they can easily change in the beta period