aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2016-01-19 08:57:37 +0900
committerZachary Scott <e@zzak.io>2016-01-19 08:57:37 +0900
commitc77330b4b82735549bfcb347a82ef232eb1e8b8c (patch)
treea5be31bfd4d8a45db437e6fe9a0653fd18432f49 /Rakefile
parent9a1230b7e2e9abb16b94dca1e07aa57f27f55069 (diff)
downloadruby-openssl-c77330b4b82735549bfcb347a82ef232eb1e8b8c.tar.gz
Print out OPENSSL_LIBRARY_VERSION before tests
Closes #46
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index f7b51510..2a112ea6 100644
--- a/Rakefile
+++ b/Rakefile
@@ -12,6 +12,11 @@ Rake::TestTask.new do |t|
t.warning = true
end
+task :test => :debug
+task :debug do
+ sh "ruby -ropenssl -e 'puts OpenSSL::OPENSSL_LIBRARY_VERSION'"
+end
+
task :sync do
trunk = ENV.fetch("RUBY_TRUNK_PATH", "../ruby")