root/test/Rakefile
@
75
Revision 4, 274 bytes (checked in by ujihisa, 17 years ago) |
---|
Line | |
---|---|
1 | task :default => :run_all |
2 | |
3 | desc '' |
4 | task :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 |
16 | end |
Note: See TracBrowser
for help on using the browser.