Skip to content

Commit

Permalink
Needs to compile to test
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Mar 5, 2021
1 parent 5b45685 commit 12ae3df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
require "bundler/gem_tasks"
require "rake/testtask"

name = "io/wait"

Rake::TestTask.new(:test) do |t|
t.libs << "test/lib"
t.ruby_opts << "-rhelper"
t.test_files = FileList["test/**/test_*.rb"]
end

require 'rake/extensiontask'
Rake::ExtensionTask.new("io/wait")
Rake::ExtensionTask.new(name)
task :test => :compile

task :default => :test

0 comments on commit 12ae3df

Please sign in to comment.