diff options
author | Zachary Scott <e@zzak.io> | 2016-01-18 18:02:57 +0900 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2016-01-18 18:02:57 +0900 |
commit | 9a1230b7e2e9abb16b94dca1e07aa57f27f55069 (patch) | |
tree | 1522d640246d4dba151d35140e74faaafd503192 /Rakefile | |
parent | 4313ede92e6113f15df5be5976250979f3af1141 (diff) | |
download | ruby-openssl-9a1230b7e2e9abb16b94dca1e07aa57f27f55069.tar.gz |
Move "Updating from trunk" doc to a rake task `:sync` [ci skip]
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -11,3 +11,12 @@ Rake::TestTask.new do |t| t.libs << 'test' t.warning = true end + +task :sync do + trunk = ENV.fetch("RUBY_TRUNK_PATH", "../ruby") + + sh "cp #{trunk}/ext/openssl/*.c #{trunk}/ext/openssl/*.h #{trunk}/ext/openssl/*.rb ext/openssl/." + sh "cp -R #{trunk}/ext/openssl/lib/* lib/." + sh "cp #{trunk}/test/openssl/test_*.rb test/." + sh "cp #{trunk}/test/openssl/utils.rb test/utils.rb" +end |