diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2017-03-10 17:18:28 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2017-03-16 15:57:27 +0900 |
commit | b7ae3765a033dbbc884a05636306c07522d360f2 (patch) | |
tree | 7d51cb1244b626663434d1ab14373943e39cd623 | |
parent | 9d91a329cd01b93c4fe731b475b49e9bc1cee508 (diff) | |
download | ruby-openssl-b7ae3765a033dbbc884a05636306c07522d360f2.tar.gz |
Rakefile: compile the extension before test
-rw-r--r-- | Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |