summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-11-05 16:33:47 +0100
committerJean Boussier <[email protected]>2024-11-05 18:00:36 +0100
commit241a03483c7eecfba008500df78716eb083d808b (patch)
tree277700799baed65fd8ec5a07f164b54d2240bb84
parent7fe775698b88b9f212b54806c9925aed150ba18a (diff)
Update json gem syncing logic
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12003
-rwxr-xr-xtool/sync_default_gems.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index f1e09f5f2f..11376f5497 100755
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -196,7 +196,7 @@ module SyncDefaultGems
rm_rf("test/json/lib")
cp_r("#{upstream}/lib", "ext/json")
cp_r("#{upstream}/json.gemspec", "ext/json")
- rm_rf(%w[ext/json/lib/json/pure.rb ext/json/lib/json/pure])
+ rm_rf(%w[ext/json/lib/json/pure.rb ext/json/lib/json/pure ext/json/lib/json/truffle_ruby/])
json_files = Dir.glob("ext/json/lib/json/ext/**/*", File::FNM_DOTMATCH).select { |f| File.file?(f) }
rm_rf(json_files - Dir.glob("ext/json/lib/json/ext/**/*.rb"))
`git checkout ext/json/extconf.rb ext/json/parser/prereq.mk ext/json/generator/depend ext/json/parser/depend ext/json/depend benchmark/`