mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
tool/sync_default_gems.rb: update paths for openssl
Now ruby/openssl has a different directory structure. The test suite is moved from /test/test_* to /test/openssl/test_*.
This commit is contained in:
parent
28f3e03880
commit
61cfd6da84
1 changed files with 3 additions and 5 deletions
|
@ -268,13 +268,11 @@ def sync_default_gems(gem)
|
|||
when "openssl"
|
||||
rm_rf(%w[ext/openssl test/openssl])
|
||||
cp_r("#{upstream}/ext/openssl", "ext")
|
||||
mkdir_p("ext/openssl/lib")
|
||||
cp_r("#{upstream}/lib/openssl", "ext/openssl/lib")
|
||||
cp_r("#{upstream}/lib/openssl.rb", "ext/openssl/lib")
|
||||
cp_r("#{upstream}/test", "test/openssl")
|
||||
cp_r("#{upstream}/lib", "ext/openssl")
|
||||
cp_r("#{upstream}/test/openssl", "test")
|
||||
rm_rf("test/openssl/envutil.rb")
|
||||
cp_r("#{upstream}/openssl.gemspec", "ext/openssl")
|
||||
cp_r("#{upstream}/HISTORY.md", "ext/openssl")
|
||||
cp_r("#{upstream}/History.md", "ext/openssl")
|
||||
`git checkout ext/openssl/depend`
|
||||
when "net-pop"
|
||||
rm_rf(%w[lib/net/pop.rb lib/net/pop test/net/pop])
|
||||
|
|
Loading…
Reference in a new issue