Opcodes
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
ExtUtils::Constant::WriteConstants
(NAME => 'Opcodes',
NAMES => \@names,
DEFAULT_TYPE => 'IV',
);
}
WriteMakefile(
NAME => 'Opcodes',
VERSION_FROM => 'lib/Opcodes.pm',
ABSTRACT_FROM => 'lib/Opcodes.pm',
AUTHOR => 'Reini Urban',
LICENSE => 'perl',
($ExtUtils::MakeMaker::VERSION gt '6.46' ?
('META_MERGE' => {
resources =>
{
license => 'http://dev.perl.org/licenses/',
repository => 'http://github.com/rurban/Opcodes',
},
prereqs => {
develop => {
requires => {
'Pod::Markdown' => 0,
'Test::CPAN::Meta' => 0,
'Test::Pod' => 0,
'Test::Pod::Coverage' => 0,
'Class::XSAccessor' => 0,
'Text::CSV_XS' => 0,
'List::MoreUtils' => 0,
'Test::Kwalitee' => 0,
}
}
}
}
) : ()),
realclean => {FILES => 'const-c.inc const-xs.inc'},
SIGN => 1,
);
package MY;
sub dist {
local $_ = shift->SUPER::dist(@_);
s/DIST_DEFAULT = /DIST_DEFAULT = README.md /;
return $_;
}
sub depend { '
README.md : $(VERSION_FROM)
pod2markdown $(VERSION_FROM) | \
$(PERL) -pe\'s/png\]\(https:/png\)\](https:/; s/(Travis|Coveralls): \[/\[!\[\1]\(/;\' > $@
release-test : dist
if test "$(shell git rev-parse --abbrev-ref HEAD)" != "master" || \
test "$(shell git diff --raw)" != "" || \
test "$(shell git diff --cached --raw)" != "" ; then \
echo "You are not on a clean master branch, aborting."; \
exit 1; \
fi
if test "$(shell git ls --show-signature -n 1 | head -n2 | tail -n1 | cut -c1-5)" != "gpg: " ; then \
echo "need git commit with -S"; \
exit 1; \
fi
if test "$(shell git ls --no-show-signature -n 1 | head -n5 | tail -n1 | cut -c5-11)" != "Release" ; then \
echo "need git commit with -m Release"; \
exit 1; \
fi
echo -git tag -f \$(VERSION)
echo cpan-upload \$(DISTVNAME).tar\$(SUFFIX)
echo git push
echo git push --tags
release : dist
if test "$(shell git rev-parse --abbrev-ref HEAD)" != "master" || \
test "$(shell git diff --raw)" != "" || \
test "$(shell git diff --cached --raw)" != "" ; then \
echo "You are not on a clean master branch, aborting."; \
exit 1; \
fi
if test "$(shell git ls --show-signature -n 1 | head -n2 | tail -n1 | cut -c1-5)" != "gpg: " ; then \
echo "need git commit with -S"; \
exit 1; \
fi
if test "$(shell git ls --no-show-signature -n 1 | head -n5 | tail -n1 | cut -c5-11)" != "Release" ; then \
echo "need git commit with -m Release"; \
exit 1; \
fi
-git tag -f \$(VERSION)
cpan-upload \$(DISTVNAME).tar\$(SUFFIX)
git push
git push --tags
test_cover :: pure_all
$(RM_RF) cover_db
$(PERLRUNINST) -S cover -test
test_coveralls :: pure_all
$(PERLRUNINST) -S cover -test -report coveralls
'; }
( run in 0.597 second using v1.01-cache-2.11-cpan-df04353d9ac )