1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed the sync task for json

* Ignode to change ext/json/depend
  * Fixed to ignore json_pure files
This commit is contained in:
Hiroshi SHIBATA 2019-10-31 10:18:57 +09:00
parent 79d96b42df
commit c38ba75780
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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")