summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-18 18:47:52 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-18 18:47:52 +0900
commit6dd257ed1e54f36deb3e33db12ce9131fdea3b90 (patch)
tree88788eaa56f90afb48e25deef242c1d583e90b4e
parent3d86f7a37c595375c125efabb812c02c35d9af7d (diff)
Added sync task for bigdecimal
-rw-r--r--tool/sync_default_gems.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 8663282f54..b4e11d9c04 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -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