fix test to match fixed k semantics
[language-befunge.git] / Build.PL
blob6e375a065053cf9a27dac1fe79bff4a7155f231b
1 #!perl
3 # This file is part of Language::Befunge.
4 # Copyright (c) 2001-2008 Jerome Quelin, all rights reserved.
6 # This program is free software; you can redistribute it and/or modify
7 # it under the same terms as Perl itself.
11 use strict;
12 use warnings;
14 use Module::Build;
16 my %requires = (
17     'perl'                  => '5.010',
18     'aliased'               => '0.22',
19     'Carp'                  => 0,
20     'Class::Accessor::Fast' => 0,
21     'Config'                => 0,
22     'FindBin'               => 0,
23     'Readonly'              => 0,
24     'Storable'              => 0,
25     'UNIVERSAL::require'    => 0,
27 my %build_requires = (
28     %requires,
29     'List::Util'            => 0,
30     'POSIX'                 => 0,
31     'Test::Exception'       => 0,
32     'Test::More'            => 0,
34 my %recommends = (
35     'Language::Befunge::Storage::Generic::Vec::XS' => 0,
36     'Language::Befunge::Vector::XS'                => '0.2.2',
37     'Test::Builder'                                => 0, # TEST lib
38     'Test::Pod'                                    => 0,
39     'Test::Pod::Coverage'                          => 0,
43 my $builder = Module::Build->new
44   ( module_name          => 'Language::Befunge',
45     license              => 'perl',
46     dist_author          => 'Jerome Quelin <jquelin@cpan.org>',
47     dist_version_from    => 'lib/Language/Befunge.pm',
48     build_requires       => \%build_requires,
49     requires             => \%requires,
50     recommends           => \%recommends,
51     script_files         => [ 'bin/jqbef98' ],
52     add_to_cleanup       =>
53       [ 'Language-Befunge-*', map { ( '*/' x $_ ) . '*~' } 0..5 ],
54     recursive_test_files => 1,
55   );
56 $builder->create_build_script;