summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-08-21 20:18:44 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-08-21 20:18:44 +0900
commit8c97883b738ad9749848d9a10fce87df0f9b1bf3 (patch)
treeb1b5520b68afb73d219f1abd382283b738eb5861 /tool
parentbc374e5cea0fe0eb77da0ee78930c22d7afbd34a (diff)
downloadruby-8c97883b738ad9749848d9a10fce87df0f9b1bf3.tar.gz
Promote erb to default gems
Diffstat (limited to 'tool')
-rw-r--r--tool/sync_default_gems.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 5589b7816d..4842f81973 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -65,6 +65,7 @@ $repositories = {
set: "ruby/set",
find: "ruby/find",
rinda: "ruby/rinda",
+ erb: "ruby/erb",
}
def sync_default_gems(gem)
@@ -264,6 +265,12 @@ def sync_default_gems(gem)
cp_r("#{upstream}/did_you_mean.gemspec", "lib/did_you_mean")
cp_r("#{upstream}/test", "test/did_you_mean")
rm_rf(%w[test/did_you_mean/tree_spell/test_explore.rb])
+ when "erb"
+ rm_rf(%w[lib/erb* test/erb libexec/erb])
+ cp_r("#{upstream}/lib/erb.rb", "lib")
+ cp_r("#{upstream}/test/erb", "test")
+ cp_r("#{upstream}/erb.gemspec", "lib")
+ cp_r("#{upstream}/exe/erb", "libexec")
else
sync_lib gem
end