summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-07-08 03:01:49 -0500
committerJesse Luehrs <doy@tozt.net>2011-07-08 03:01:49 -0500
commit1a0c3c3a02da09abc11bbad291d09a41c1850d1d (patch)
treec19787eda8fa4dd155e028752cc38bc19dad0aca /inc
parent046119999e010e4a38b67f5f194baaf60e7c8707 (diff)
downloadsmartmatch-engine-core-1a0c3c3a02da09abc11bbad291d09a41c1850d1d.tar.gz
smartmatch-engine-core-1a0c3c3a02da09abc11bbad291d09a41c1850d1d.zip
split this out into its own dist, and implement the custom opcode
Diffstat (limited to 'inc')
-rw-r--r--inc/MakeMaker.pm25
1 files changed, 0 insertions, 25 deletions
diff --git a/inc/MakeMaker.pm b/inc/MakeMaker.pm
deleted file mode 100644
index a1b5ed6..0000000
--- a/inc/MakeMaker.pm
+++ /dev/null
@@ -1,25 +0,0 @@
-package inc::MakeMaker;
-use Moose;
-
-extends 'Dist::Zilla::Plugin::MakeMaker::Awesome';
-
-override _build_MakeFile_PL_template => sub {
- my $self = shift;
-
- my $tmpl = super;
-
- my $depends = <<'END';
-%WriteMakefileArgs = (
- %WriteMakefileArgs,
- ExtUtils::Depends->new('smartmatch', 'B::Hooks::OP::Check')->get_makefile_vars,
-);
-END
-
- $tmpl =~ s/(use ExtUtils.*)/$1\nuse ExtUtils::Depends;/;
- $tmpl =~ s/(WriteMakefile\()/$depends\n$1/;
-
- return $tmpl;
-};
-
-__PACKAGE__->meta->make_immutable;
-1;