Acme-MetaSyntactic-nethack
view release on metacpan or search on metacpan
Makefile.PL
*.nethack_backup
pod2htm?.tmp
Acme-MetaSyntactic-nethack-*
}
],
);
$builder->create_build_script();
# setup nethack: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup nethack: shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
Makefile.PL view on Meta::CPAN
}
require Cwd;
require File::Spec;
require CPAN;
# Save this 'cause CPAN will chdir all over the place.
my $cwd = Cwd::cwd();
CPAN::Shell->install('Module::Build::Compat');
CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate
or die "Couldn't install Module::Build, giving up.\n";
chdir $cwd or die "Cannot chdir() back to $cwd: $!";
}
eval "use Module::Build::Compat 0.02; 1" or die $@;
use lib '_build/lib';
Module::Build::Compat->run_build_pl(args => \@ARGV);
require MyModuleBuilder;
Module::Build::Compat->write_makefile(build_class => 'MyModuleBuilder');
t/author/consistent_version_numbers.t view on Meta::CPAN
if (!defined $last_version) {
$last_version = shift @version_lines;
pass($_);
}
else {
is($line, $last_version, $_);
}
}
}
# setup nethack: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup nethack: set shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
t/author/copyright.t view on Meta::CPAN
fail("$_ copyrights: @copyright_years");
} elsif (0 == @copyright_years) {
pass("$_, no copyright found");
} else {
pass($_);
} # end if
$copyrights_found += @copyright_years;
} # end check_file()
# setup nethack: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup nethack: set shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
t/author/distribution.t view on Meta::CPAN
#!perl
# Taken from http://www.chrisdolan.net/talk/index.php/2005/11/14/private-regression-tests/.
use warnings;
use strict;
use Test::Distribution distversion => 1;
# setup nethack: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup nethack: set shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
t/author/kwalitee.t view on Meta::CPAN
#!perl
use Test::More;
use Test::Kwalitee;
# setup nethack: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup nethack: set shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
t/author/perlcritic.t view on Meta::CPAN
my $build;
BEGIN {
$build = Module::Build->current();
} # end BEGIN
all_critic_ok(
map { catfile($build->base_dir(), $_) } qw{ lib script examples }
);
# setup nethack: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup nethack: set shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
t/author/perlcriticrc view on Meta::CPAN
[-Documentation::RequirePodAtEnd]
# Magic numbers BAD. (It doesn't hurt that I wrote this policy.)
[ValuesAndExpressions::ProhibitMagicNumbers]
severity = 4
# For some reason, this chokes on v-strings within a version constructor
# and I don't have time to chase this down.
[-Modules::PerlMinimumVersion]
# setup nethack: set filetype=conf tabstop=4 softtabstop=4 expandtab :
# setup nethack: set shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
t/author/pod_coverage.t view on Meta::CPAN
#!perl
use strict;
use warnings;
use Test::More;
use Test::Pod::Coverage;
all_pod_coverage_ok();
# setup nethack: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup nethack: set shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
t/author/pod_spelling.t view on Meta::CPAN
use Test::More;
use Test::Spelling;
set_spell_cmd('aspell -l en list');
add_stopwords(<DATA>);
all_pod_files_spelling_ok();
__DATA__
=cut
# setup nethack: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup nethack: set shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
t/author/pod_syntax.t view on Meta::CPAN
#!perl
use strict;
use warnings;
use Test::More;
use Test::Pod;
all_pod_files_ok();
# setup nethack: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup nethack: set shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
use strict;
use warnings;
use Test::More tests => 1;
use_ok('Acme::MetaSyntactic::nethack');
# setup nethack: set filetype=perl tabstop=4 softtabstop=4 expandtab :
# setup nethack: set shiftwidth=4 shiftround textwidth=0 nowrap autoindent :
# setup nethack: set foldmethod=indent foldlevel=0 :
( run in 0.551 second using v1.01-cache-2.11-cpan-5623c5533a1 )