summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-20 15:00:40 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-20 16:11:03 +0900
commit71ebf6d8e5fa6ebc2f5f25c59c73a50f4c611b6a (patch)
tree71a8bc44a3e93accdde043763239c2abc2231eb4 /tool
parent45e939f5adcb3f16682e7a957d7ecf91edc005e4 (diff)
Update sync task for the directory structure of cparse and ignore JRuby files.
Diffstat (limited to 'tool')
-rw-r--r--tool/sync_default_gems.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 7285f1a7de..5a5a482539 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -213,7 +213,9 @@ def sync_default_gems(gem)
when "racc"
`rm -rf lib/racc* ext/racc test/racc`
`cp -rf ../racc/lib/racc* lib`
- `cp -rf ../racc/ext/racc* ext`
+ `mkdir -p ext/racc/cparse`
+ `cp -rf ../racc/ext/racc/* ext/racc/cparse`
+ `rm -rf ext/racc/cparse/MANIFEST ext/racc/cparse/com`
`cp -rf ../racc/test test/racc`
when "rexml", "rss", "matrix", "irb", "csv", "shell", "logger", "ostruct", "scanf", "webrick", "fileutils", "forwardable", "prime", "tracer", "ipaddr", "cmath", "mutex_m", "sync"
sync_lib gem