Acme-Godot
view release on metacpan or search on metacpan
[Git::Contributors]
;[ContributorsFromPod]
; choose files to include
[Git::GatherDir] ; everything from git ls-files
exclude_filename = README.pod ; skip this generated file
exclude_filename = README.mkdn ; skip this generated file
exclude_filename = META.json ; skip this generated file
exclude_filename = cpanfile ; skip this generated file
[PruneCruft] ; default stuff to skip
;[ManifestSkip] ; if -f MANIFEST.SKIP, skip those, too
; file modifications
[InsertCopyright] ; add copyright at "# COPYRIGHT"
; [PodWeaver] ; generate Pod
; config_plugin = @SJN ; my own plugin allows Pod::WikiDoc
; replacer = replace_with_comment
; post_code_replacer = replace_with_nothing
[PodVersion] ; add a VERSION header i POD
[Prereqs::AuthorDeps] ; add authordeps as develop/requires
[MetaYAML] ; generate META.yml (v1.4)
[MetaJSON] ; generate META.json (v2)
[CPANFile] ; generate cpanfile
; build system
[ExecDir] ; include 'bin/*' as executables
[ShareDir] ; include 'share/' for File::ShareDir
[MakeMaker] ; create Makefile.PL
eumm_version = 6.17
default_jobs = 5
; manifest (after all generated files)
[Manifest] ; create MANIFEST
; copy cpanfile back to repo dis
[CopyFilesFromBuild]
copy = cpanfile
; before release
[Git::Check] ; ensure all files checked in
allow_dirty = dist.ini
allow_dirty = Changes
allow_dirty = cpanfile
[CheckMetaResources] ; ensure META has 'resources' data
[CheckPrereqsIndexed] ; ensure prereqs are on CPAN
[CheckChangesHasContent] ; ensure Changes has been updated
[RunExtraTests] ; ensure xt/ tests pass
default_jobs = 5
[TestRelease] ; ensure t/ tests pass
[ConfirmRelease] ; prompt before uploading
; releaser
[UploadToCPAN] ; uploads to CPAN
; after release
[Git::Commit / Commit_Dirty_Files] ; commit Changes (as released)
t/00_load.t view on Meta::CPAN
use Test::More tests => 2;
use Test::Exception;
local $SIG{INT} = local $SIG{HUP} = sub { die "User got bored\n" };
throws_ok(
sub {
local $SIG{ALRM} = sub { die "Waiting no more\n" };
alarm 5;
require Acme::Godot;
alarm 0;
$SIG{ALRM} = "default";
},
qr/Waiting no more/,
"Godot didn't arrive during the first 5 seconds"
);
TODO: {
todo_skip "Need test that successfully waits for Godot to arrive", 1;
local $SIG{INT} = local $SIG{HUP} = sub { die "not ok\n" };
require_ok("Acme::Godot"); # FIXME: Solve halting problem
( run in 0.555 second using v1.01-cache-2.11-cpan-0a6323c29d9 )