From d3272fcba3196738403def453ef0a5119ce16953 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 30 Oct 2019 21:00:01 +0900 Subject: [PATCH] Update the latest structure for racc upstream --- tool/sync_default_gems.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 58e1c3bd4a..140cf3700d 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -208,7 +208,9 @@ def sync_default_gems(gem) mkdir_p("ext/racc/cparse") cp_r(Dir.glob("#{upstream}/ext/racc/cparse/*"), "ext/racc/cparse") cp_r("#{upstream}/test", "test/racc") - `git checkout ext/racc/cparse/README` + rm_rf("test/racc/lib") + rm_rf("lib/racc/cparse-jruby.jar") + `git checkout ext/racc/cparse/README ext/racc/cparse/depend` when "rexml", "rss", "matrix", "irb", "csv", "logger", "ostruct", "webrick", "fileutils", "forwardable", "prime", "tracer", "ipaddr", "mutex_m" sync_lib gem else