aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2017-03-10 17:18:28 +0900
committerKazuki Yamaguchi <k@rhe.jp>2017-03-16 15:57:27 +0900
commitb7ae3765a033dbbc884a05636306c07522d360f2 (patch)
tree7d51cb1244b626663434d1ab14373943e39cd623
parent9d91a329cd01b93c4fe731b475b49e9bc1cee508 (diff)
downloadruby-openssl-b7ae3765a033dbbc884a05636306c07522d360f2.tar.gz
Rakefile: compile the extension before test
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 2fca743d..ada64308 100644
--- a/Rakefile
+++ b/Rakefile
@@ -20,7 +20,7 @@ RDoc::Task.new do |rdoc|
rdoc.rdoc_files.include("*.md", "lib/**/*.rb", "ext/**/*.c")
end
-task :test => :debug
+task :test => [:compile, :debug]
task :debug do
ruby "-I./lib -ropenssl -ve'puts OpenSSL::OPENSSL_VERSION, OpenSSL::OPENSSL_LIBRARY_VERSION'"
end
@@ -71,3 +71,5 @@ namespace :sync do
puts "Don't forget to update ext/openssl/depend"
end
end
+
+task :default => :test