root/test/Rakefile

Revision 4, 274 bytes (checked in by ujihisa, 16 years ago)

test/test.rb: import
test/Rakefile: fix

Line 
1task :default => :run_all
2
3desc ''
4task :run_all do
5  {
6    'hs'  => 'runghc',
7    'scm' => 'gosh',
8    'rb'  => 'ruby',
9    'pl'  => 'perl'
10  }.each do |ext, command|
11    FileList["*.#{ext}"].each do |f|
12      sh "/usr/bin/env #{command} #{f}"
13      puts
14    end
15  end
16end
Note: See TracBrowser for help on using the browser.