diff options
author | guy Decoux <ts@moulon.inra.fr> | 2009-02-28 20:04:27 +0100 |
---|---|---|
committer | guy Decoux <ts@moulon.inra.fr> | 2009-02-28 20:04:27 +0100 |
commit | 9a643db7074054fb1af20497a5e36119a833b0c3 (patch) | |
tree | ca6a2d9152ab161cfe847b0fdff937542adf952f /extconf.rb | |
parent | 37e4ca938b10acde659f03f69035dda34c49f437 (diff) | |
download | mmap-ruby-9a643db7074054fb1af20497a5e36119a833b0c3.zip mmap-ruby-9a643db7074054fb1af20497a5e36119a833b0c3.tar.gz |
mmap-0.1.4
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) |