diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-09-15 16:51:42 -0700 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-09-15 16:54:20 -0700 |
commit | 43ab2acf8242c580b1ef5d644ea94d48669d4869 (patch) | |
tree | f5f226b5ecad4b3b6ed18afa052d91d90880e591 /tool | |
parent | cb686b9cccf571a70f4ac85bef0ebb2b544fba97 (diff) | |
download | ruby-43ab2acf8242c580b1ef5d644ea94d48669d4869.tar.gz |
Resurrect gem-specific patterns for sync
Yet another partial revert of https://github.com/ruby/ruby/pull/8329,
similar to 00f263e6c4.
Repro: On ruby/ruby@1be64e34d0, `tool/sync_default_gems.rb yarp
162c2088eec6ec8f0558559e082cd661c18ee02a` should exist successfully, but
it doesn't without this gem-specific handling.
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/sync_default_gems.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index fcfb06047e..9e088e5382 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -447,7 +447,15 @@ module SyncDefaultGems # Gem-specific patterns case gem - when nil + when "yarp" + %r[\A(?: + Makefile\.in + |configure\.ac + |fuzz/.* + |rust/.* + |tasks/.* + |ext/yarp/extconf\.rb + )\z]mx end&.tap do |pattern| patterns << pattern end |