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

Added sync task for bigdecimal

This commit is contained in:
Hiroshi SHIBATA 2020-09-18 18:47:52 +09:00
parent 3d86f7a37c
commit 6dd257ed1e
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -297,6 +297,14 @@ def sync_default_gems(gem)
cp_r("#{upstream}/test/test_syslog.rb", "test")
cp_r("#{upstream}/syslog.gemspec", "ext/syslog")
`git checkout ext/syslog/depend`
when "bigdecimal"
rm_rf(%w[ext/bigdecimal test/bigdecimal])
cp_r("#{upstream}/ext/bigdecimal", "ext")
cp_r("#{upstream}/sample", "ext/bigdecimal")
cp_r("#{upstream}/lib", "ext/bigdecimal")
cp_r("#{upstream}/test/bigdecimal", "test")
cp_r("#{upstream}/bigdecimal.gemspec", "ext/bigdecimal")
`git checkout ext/bigdecimal/depend`
else
sync_lib gem
end