diff options
Diffstat (limited to 'extconf.rb')
-rw-r--r-- | extconf.rb | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2,6 +2,12 @@ require "mkmf" create_makefile "mmap" begin make = open("Makefile", "a") + make.puts "\ntest: $(DLLIB)" + Dir.foreach('tests') do |x| + next if /^\./ =~ x || /(_\.rb|~)$/ =~ x + next if FileTest.directory?(x) + make.print "\truby tests/#{x}\n" + end make.print <<-EOT unknown: $(DLLIB) |