Skip to content

Commit b7ae376

Browse files
committed
Rakefile: compile the extension before test
1 parent 9d91a32 commit b7ae376

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Rakefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RDoc::Task.new do |rdoc|
2020
rdoc.rdoc_files.include("*.md", "lib/**/*.rb", "ext/**/*.c")
2121
end
2222

23-
task :test => :debug
23+
task :test => [:compile, :debug]
2424
task :debug do
2525
ruby "-I./lib -ropenssl -ve'puts OpenSSL::OPENSSL_VERSION, OpenSSL::OPENSSL_LIBRARY_VERSION'"
2626
end
@@ -71,3 +71,5 @@ namespace :sync do
7171
puts "Don't forget to update ext/openssl/depend"
7272
end
7373
end
74+
75+
task :default => :test

0 commit comments

Comments
 (0)