From c38ba75780c4641816a8090629d1b5eea22fd137 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 31 Oct 2019 10:18:57 +0900 Subject: Fixed the sync task for json * Ignode to change ext/json/depend * Fixed to ignore json_pure files --- tool/sync_default_gems.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tool') diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 140cf3700d..f2e61f68ca 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -112,10 +112,9 @@ def sync_default_gems(gem) cp_r("#{upstream}/ext/json/ext", "ext/json") cp_r("#{upstream}/tests", "test/json") cp_r("#{upstream}/lib", "ext/json") - rm_rf(%[ext/json/lib/json/pure*]) cp_r("#{upstream}/json.gemspec", "ext/json") - rm_rf(%w[ext/json/lib/json/ext]) - `git checkout ext/json/extconf.rb ext/json/parser/prereq.mk ext/json/generator/depend ext/json/parser/depend` + rm_rf(%w[ext/json/lib/json/ext ext/json/lib/json/pure.rb ext/json/lib/json/pure]) + `git checkout ext/json/extconf.rb ext/json/parser/prereq.mk ext/json/generator/depend ext/json/parser/depend ext/json/depend` when "psych" rm_rf(%w[ext/psych test/psych]) cp_r("#{upstream}/ext/psych", "ext") -- cgit v1.2.3