From b7ae3765a033dbbc884a05636306c07522d360f2 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Fri, 10 Mar 2017 17:18:28 +0900 Subject: Rakefile: compile the extension before test --- Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3