summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-05-31 18:19:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-08 17:25:38 +0900
commit55e0f8cfe0fe34cc96524341fc2319e487589934 (patch)
tree18fc9fd0db78c48edaad4c85e11c2bb54d696ae3 /tool/sync_default_gems.rb
parent044d0606e29e67d7ac8c1ef38867b88b445907b7 (diff)
Removed sync task for racc
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7877
Diffstat (limited to 'tool/sync_default_gems.rb')
-rwxr-xr-xtool/sync_default_gems.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 482e138cf8..cc527c6bdd 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -34,7 +34,6 @@ module SyncDefaultGems
irb: 'ruby/irb',
forwardable: "ruby/forwardable",
mutex_m: "ruby/mutex_m",
- racc: "ruby/racc",
singleton: "ruby/singleton",
open3: "ruby/open3",
getoptlong: "ruby/getoptlong",
@@ -287,25 +286,6 @@ module SyncDefaultGems
cp_r("#{upstream}/strscan.gemspec", "ext/strscan")
rm_rf(%w["ext/strscan/regenc.h ext/strscan/regint.h"])
`git checkout ext/strscan/depend`
- when "racc"
- rm_rf(%w[lib/racc lib/racc.rb ext/racc test/racc])
- parser_files = %w[
- lib/racc/parser-text.rb
- ]
- Dir.chdir(upstream) do
- `bundle install`
- parser_files.each do |file|
- `bundle exec rake #{file}`
- end
- end
- cp_r(Dir.glob("#{upstream}/lib/racc*"), "lib")
- mkdir_p("ext/racc/cparse")
- cp_r(Dir.glob("#{upstream}/ext/racc/cparse/*"), "ext/racc/cparse")
- cp_r("#{upstream}/test", "test/racc")
- cp_r("#{upstream}/racc.gemspec", "lib/racc")
- rm_rf("test/racc/lib")
- rm_rf("lib/racc/cparse-jruby.jar")
- `git checkout ext/racc/cparse/README ext/racc/cparse/depend`
when "cgi"
rm_rf(%w[lib/cgi.rb lib/cgi ext/cgi test/cgi])
cp_r("#{upstream}/ext/cgi", "ext")