Nils Diewald | 37e5b57 | 2013-11-20 20:26:03 +0000 | [diff] [blame] | 1 | #!/usr/bin/env perl |
| 2 | use strict; |
| 3 | use warnings; |
| 4 | use FindBin; |
| 5 | use v5.16; |
| 6 | |
| 7 | my $dir = $FindBin::Bin; |
| 8 | |
Nils Diewald | aba4710 | 2013-11-27 15:02:47 +0000 | [diff] [blame] | 9 | foreach my $file (qw/00001 00002 00003 00004 00005 00006 02035-substring 02439 05663-unbalanced 07452-deep/) { |
Nils Diewald | 37e5b57 | 2013-11-20 20:26:03 +0000 | [diff] [blame] | 10 | my $call = 'perl ' . $dir . '/prepare_index.pl -i ' . $dir . '/../examples/WPD/AAA/' . $file . ' -o ' . $dir . '/../' . $file . '.json'; |
| 11 | print 'Create ' . $file . ".json\n"; |
| 12 | system($call); |
| 13 | |
| 14 | print 'Create ' . $file . ".json.gz\n"; |
| 15 | $call .= '.gz -z'; |
| 16 | system($call); |
| 17 | }; |